You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows 11: console windows flash during tool execution after updating to CLI 0.157.0 #48036
After updating Codex CLI, command windows visibly flash and disappear during tool calls that run commands or write files. One additional window remains open. The user reports that none of this happened before updating and that the repeated flashing makes the CLI unusable.
Reproduction
Run Codex CLI 0.157.0 on native Windows 11.
Ask the agent to run shell commands or write files.
Observe console windows briefly appearing and disappearing during execution.
Expected behavior
Tool execution should not repeatedly display console windows on the user's desktop.
Troubleshooting
Suggested testing a fresh session with codex --no-daemon; the user subsequently reports windows still appearing. Exact execution path has not been independently verified.
Trying to resume the existing session with --no-daemon resulted in a session lock according to the user; exact error text is unavailable.
Suggested windows.sandbox_private_desktop=true, but whether this was tested is unconfirmed.
Identity of the persistent window and the last working CLI version are not yet established.
Please investigate native Windows console visibility during tool/process startup. Automatic background-server startup was considered as a hypothesis, but no root cause has been confirmed.
Activity
github-actions commentedon Sep 25, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
etraut-openai commentedon Sep 29, 2026
We're using #48074 to track this. I'll post updates there.