protected @NotNull OSProcessHandler createProcessHandler(TargetEnvironment remoteEnvironment,
                                                             TargetedCommandLineBuilder targetedCommandLineBuilder,
                                                             TargetedCommandLine targetedCommandLine,
                                                             Process process) throws ExecutionException {
      if (emulateTerminal()) {
        return new MavenKillableProcessHandler(process,
                                               targetedCommandLine.getCommandPresentation(remoteEnvironment),
                                               targetedCommandLine.getCharset(),
                                               targetedCommandLineBuilder.getFilesToDeleteOnTermination());
      }
      else {
        return new KillableColoredProcessHandler.Silent(process,
                                                        targetedCommandLine.getCommandPresentation(remoteEnvironment),
                                                        targetedCommandLine.getCharset(),
                                                        targetedCommandLineBuilder.getFilesToDeleteOnTermination());
      }
    }
protected @NotNull OSProcessHandler createProcessHandler(TargetEnvironment remoteEnvironment,
                                                             TargetedCommandLineBuilder targetedCommandLineBuilder,
                                                             TargetedCommandLine targetedCommandLine,
                                                             Process process)