private static void passEnvironmentUsingInterop(@NotNull GeneralCommandLine commandLine) {
    StringBuilder builder = new StringBuilder();
    commandLine.getEnvironment().keySet().stream().sorted().forEach((envName) -> {
      if (StringUtil.isNotEmpty(envName)) {
        if (!builder.isEmpty()) {
          builder.append(":");
        }
        builder.append(envName).append("/u");
      }
    });
    if (!builder.isEmpty()) {
      String prevValue = commandLine.getEnvironment().get(WslConstants.WSLENV);
      if (prevValue == null) {
        prevValue = commandLine.getParentEnvironment().get(WslConstants.WSLENV);
      }
      String value = prevValue != null ? StringUtil.trimEnd(prevValue, ':') + ':' + builder
                                       : builder.toString();
      commandLine.getEnvironment().put(WslConstants.WSLENV, value);
    }
  }
private static void passEnvironmentUsingInterop(@NotNull GeneralCommandLine commandLine)