import type { SessionLaunch } from './sessionLaunch' import { env } from 'vscode' import { buildSessionLaunch } from './sessionLaunch' /** 用户在 VS Code 里的默认 shell 拉起会话程序,展开进 `window.createTerminal` 的选项。 */ export function sessionLaunch(argv: readonly string[]): SessionLaunch { return buildSessionLaunch(env.shell, argv) }