GoForum🌐 V2EX

在 Windows11 环境使用 Codex CLI,经常出现“windows sandbox 1312"的提示;

qazwsxkevin · 2026-06-17 11:08 · 0 次点赞 · 0 条回复
• Conception.md 是一份需求说明, 当前项目里只有它和 AGENTS.md. 我会把审阅报告写成可执行规格审阅: 先指出风险与歧义, 再给出建议的脚本构建顺序和验收点.

• Ran Test-Path .\Conception_repo.md
  └ execution error: Io(Custom { kind: Other, error: "windows sandbox: runner error: CreateProcessAsUserW failed: 1312" })

codex 会”惯性地”去 CreateProcessAsUserW,被沙箱挡了,我问 codex 怎么解决,给出的方法都是在折腾 toml 配置 trust ,但看起来更像是 windows 的机制挡住了,不知道有无理解错,应该如何解决呢?

0 条回复
添加回复
你还需要 登录 后发表回复

登录后可发帖和回复

登录 注册
主题信息
作者: qazwsxkevin
发布: 2026-06-17
点赞: 0
回复: 0