private @Nullable List<String> readWslOutput(@NotNull WSLCommandLineOptions options,
                                               @NotNull GeneralCommandLine commandLine,
                                               @Nullable ProgressIndicator pi) {
    WSLDistribution distribution = WslDistributionManager.getInstance().getOrCreateDistributionByMsId(getId());

    final ProcessOutput output;
    try {
      distribution.doPatchCommandLine(commandLine, null, options);
      var processHandler = new CapturingProcessHandler(commandLine);
      output = pi == null ? processHandler.runProcess(PROBE_TIMEOUT) : processHandler.runProcessWithProgressIndicator(pi, PROBE_TIMEOUT);
    }
    catch (ExecutionException e) {
      LOG.warn("Start failed on " + getId(), e);
      return null;
    }

    if (output.getExitCode() != 0) {
      LOG.info("Execution failed on " + getId() +
               " [exitCode=" + output.getExitCode() +
               "; stderr=" + output.getStderr() +
               "; stdout=" + output.getStdout() + "]");
      return null;
    }

    return output.getStdoutLines();
  }
private @Nullable List<String> readWslOutput(@NotNull WSLCommandLineOptions options,
                                               @NotNull GeneralCommandLine commandLine,
                                               @Nullable ProgressIndicator pi)