Codex CLI Windows 守护进程无法启动,官方回应可用 --no-daemon 绕过

panchen451161722 · ghdev · 2026-09-25

openai/codex 仓库 issue #48016:Windows 上启动 codex-cli 0.157.0 时直接报错 host Job Object prevents daemon detachment; start from a host that allows breakaway,后台 daemon 无法脱离宿主 Job Object 启动。规避方法是用 --no-daemon(resume/fork 等子命令也需同样加参数)在不启动后台服务的情况下运行。目前有 9 个 reactions、12 条评论,属于 Codex Windows daemon 机制在 Windows 沙箱/Job Object 环境下的兼容性缺陷。

原文链接 →

「编程与Agent」频道最新

更多「编程与Agent」频道 AI 资讯 →