commandString = buf.toString();
logCommand(buf);
builder.redirectErrorStream(false);
Process process = builder.start();
try {
AsyncStreamBuffer stderr =
new AsyncStreamBuffer(process.getErrorStream());
AsyncStreamBuffer stdout =
new AsyncStreamBuffer(process.getInputStream());
commandOutput = new String(stdout.get(), mksCLIConfiguration.getMksSiEncoding(command));
String errorOutput = new String(stderr.get(), mksCLIConfiguration.getMksSiEncoding(command));
try {
exitValue = process.waitFor();
} catch (InterruptedException e) {
Thread.currentThread().interrupt();