handler.startNotify(); handler.waitFor(); indicator.setText2("Refreshing");
myProcessHandler.startNotify(); ExecutionModes.SameThreadMode sameThreadMode = new ExecutionModes.SameThreadMode(getPresentableName()); ExecutionHelper.executeExternalProcess(myProject, myProcessHandler, sameThreadMode, commandLine);
myProcessHandler.startNotify(); ExecutionModes.SameThreadMode sameThreadMode = new ExecutionModes.SameThreadMode(getPresentableName()); ExecutionHelper.executeExternalProcess(myProject, myProcessHandler, sameThreadMode, commandLine);
processHandler.startNotify(); for (;;){ boolean finished = processHandler.waitFor(CHECKING_TIMEOUT_IN_MILLISECONDS);
handler.startNotify(); handler.waitFor(); final String configFile = configFileArray[0];
process.startNotify(); process.waitFor();
processHandler.startNotify(); return callback;
final DubInitListener listener = new DubInitListener(); process.addProcessListener(listener); process.startNotify(); process.waitFor();
process.startNotify(); process.waitFor();
@NotNull private String processFile(final PsiFile file, final String dubPath) { final GeneralCommandLine cmd = new GeneralCommandLine() .withWorkDirectory(file.getProject().getBasePath()) .withExePath(dubPath) .withEnvironment("DFLAGS", "-o-") .withParameters("build", "--combined", "-q"); try { final String dubCommand = cmd.getCommandLineString(); final DubProcessListener listener = new DubProcessListener(); final OSProcessHandler process = new OSProcessHandler(cmd.createProcess(), dubCommand); process.addProcessListener(listener); process.startNotify(); process.waitFor(); return listener.getOutput(); } catch (final ExecutionException e) { LOG.warn("There was a problem running 'dub build --combined -q'", e); } return ""; }
process.startNotify(); process.waitFor();
handler.startNotify(); } catch (final Exception ex) { showNotification("Formatting " + psiFile.getName() + " with DFormat failed",
final OSProcessHandler process = new OSProcessHandler(commandLine.createProcess(), commandLine.getCommandLineString()); process.startNotify(); process.waitFor(); backingFile.refresh(true, true);