Runtime rt = Runtime.getRuntime();
Process proc = rt.exec(command, goEnv, new File(projectDir));
OSProcessHandler handler = new OSProcessHandler(proc, null);
toolWindow.attachConsoleViewToProcess(handler);
toolWindow.printNormalMessage(String.format("%s%n", command));
toolWindow.showAndCreate(myProject);
handler.startNotify();
if (proc.waitFor() == 0) {
ApplicationManager.getApplication().invokeLater(new Runnable() {
@Override