Codex CLI fails to start on Windows due to Job Object daemon detachment error

panchen451161722 · ghdev · 2026-09-25

Issue #48016 on openai/codex: on Windows, codex-cli 0.157.0 fails at launch with the error host Job Object prevents daemon detachment; start from a host that allows breakaway, meaning the managed background daemon can't detach from the host's Job Object. Workaround: rerun with --no-daemon (also required for subcommands like resume/fork). The issue has drawn 9 reactions and 12 comments, highlighting a Windows compatibility flaw in the new daemon/app-server architecture.

Original post →

More from coding & agent

coding & agent channel →