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