@Override
  protected ProcessHandler doCreateProcess(GeneralCommandLine commandLine) throws ExecutionException {
    if (emulateTerminal()) {
      return new OSProcessHandler(commandLine) {
        @Override
        protected @NotNull BaseOutputReader.Options readerOptions() {
          return BaseOutputReader.Options.forTerminalPtyProcess();
        }
      };
    }
    else {
      return super.doCreateProcess(commandLine);
    }
  }
@Override
  protected ProcessHandler doCreateProcess(GeneralCommandLine commandLine)