}
}
private ProcessOutput executeAndGetOut(String[] command) throws ExecutionException {
final GeneralCommandLine commandLine = new GeneralCommandLine(command);
commandLine.withWorkDirectory(myWorkDir);
commandLine.setPassParentEnvironment(true);
Process process = commandLine.createProcess();
OSProcessHandler processHandler = new ColoredProcessHandler(process, commandLine.getCommandLineString(), Charsets.UTF_8);
final ProcessOutput output = new ProcessOutput();
processHandler.addProcessListener(new ProcessAdapter() {