private @NotNull ProcessHandler doStartProcess(@NotNull TargetEnvironment targetEnvironment,
                                                 @NotNull TargetedCommandLine commandLine,
                                                 @NotNull ProgressIndicator progressIndicator) throws ExecutionException {
    final ProcessHandler processHandler;
    Process process = targetEnvironment.createProcess(commandLine, progressIndicator);
    // TODO [Targets API] [major] The command line should be prefixed with the interpreter identifier (f.e. Docker container id)
    String commandLineString = StringUtil.join(commandLine.getCommandPresentation(targetEnvironment), " ");
    processHandler = createPtyAwaredProcessHandler(process, commandLineString, targetEnvironment, commandLine);
    ProcessTerminatedListener.attach(processHandler);
    return processHandler;
  }
private @NotNull ProcessHandler doStartProcess(@NotNull TargetEnvironment targetEnvironment,
                                                 @NotNull TargetedCommandLine commandLine,
                                                 @NotNull ProgressIndicator progressIndicator)