private @NotNull List<String> doGetInitialCommand(@NotNull ShellStartupOptions options, @NotNull Map<String, String> envs) {
    try {
      myStartupOptionsThreadLocal.set(options);
      return getInitialCommand(envs);
    }
    finally {
      myStartupOptionsThreadLocal.remove();
    }
  }
private @NotNull List<String> doGetInitialCommand(@NotNull ShellStartupOptions options, @NotNull Map<String, String> envs)