exec.setExecutable(findScutilBin());
exec.setFailonerror(false);
exec.setResultProperty("result");
exec.setOutputproperty("output");
exec.setInputString(arg + "\nquit\n");
exec.execute();
String output = p.getProperty("output");
String result = p.getProperty("result");
if (!"0".equals(result)) {
throw new RuntimeException("exec return code " + result + ": " + output);
}