主页 / 参考 / API 参考 / 扩展 API / 接口: SpawnOptions 接口: SpawnOptions Page options Copy page as Markdown for LLMs View page as plain text Ask questions with Docs AI Claude Open in Claude Table of contents 层级结构 属性 cwd env stream Since 0.3.0 层级结构 ExecOptions ↳ SpawnOptions 属性 cwd • 可选 cwd: string 继承自 ExecOptions.cwd env • 可选 env: ProcessEnv 继承自 ExecOptions.env stream • stream: ExecStreamOptions