List<String> (@NotNull Map<String, String> envs) { ShellStartupOptions startupOptions = myStartupOptionsThreadLocal.get(); List<String> shellCommand = startupOptions != null ? startupOptions.getShellCommand() : null; return shellCommand != null ? shellCommand : convertShellPathToCommand(getShellPath()); }