private static ExecResult run()

in agent/src/jetbrains/buildServer/swabra/processes/ProcessExecutor.java [30:53]


  private static ExecResult run(final GeneralCommandLine commandLine) {
    return SimpleCommandLineProcessRunner.runCommand(commandLine, new byte[0], new SimpleCommandLineProcessRunner.ProcessRunCallback() {
      @Override
      public void onProcessStarted(Process ps) {
        LOG.debug("Started " + commandLine.getCommandLineString());
      }
      @Override
      public void onProcessFinished(Process ps) {
        LOG.debug("Finished " + commandLine.getCommandLineString());
      }
      @Override
      public Integer getOutputIdleSecondsTimeout() {
        return TIMEOUT;
      }
      @Override
      public Integer getMaxAcceptedOutputSize() {
        return null;
      }
      @Override
      public boolean terminateEntireProcessTree() {
        return false;
      }
    });
  }