List<String> (@NotNull String shellPath, @NotNull Map<String, String> envs, boolean shellIntegration) { List<String> command = convertShellPathToCommand(shellPath); if (shellIntegration) { ShellStartupOptions options = injectShellIntegration(command, envs); return Objects.requireNonNull(options.getShellCommand()); } return command; }