@Override
  public @NotNull <T extends GeneralCommandLine> T patchCommandLine(@NotNull T commandLine,
                                                                    @Nullable Project project,
                                                                    @NotNull WSLCommandLineOptions options) throws ExecutionException {
    if (mustRunCommandLineWithIjent(options)) {
      LocalPtyOptions ptyOptions;
      if (commandLine instanceof PtyCommandLine ptyCommandLine) {
        ptyOptions = ptyCommandLine.getPtyOptions();
      }
      else {
        ptyOptions = null;
      }
      commandLine.setProcessCreator((processBuilder) -> {
        return WslIjentUtil.runProcessBlocking(WslIjentManager.getInstance(), project, this, processBuilder, options, ptyOptions);
      });
    }
    else {
      doPatchCommandLine(commandLine, project, options);
    }

    return commandLine;
  }
@Override
  public @NotNull <T extends GeneralCommandLine> T patchCommandLine(@NotNull T commandLine,
                                                                    @Nullable Project project,
                                                                    @NotNull WSLCommandLineOptions options)