private static void remapEnvPaths(Map<String, String> env, PathMapper pathMapper, String interpreterPath, String envKey) {
    if (env.isEmpty()) return;

    String envPaths = env.get(envKey);
    if (envPaths != null) {
      env.put(envKey, RemoteProcessUtil.remapPathsList(envPaths, pathMapper, interpreterPath));
    }
  }
private static void remapEnvPaths(Map<String, String> env, PathMapper pathMapper, String interpreterPath, String envKey)