Repository navigation
Description
What version of Codex CLI is running?
0.157.0
What subscription do you have?
Plus
Which model were you using?
gpt-6-astra, reasoning effort: max
What platform is your computer?
Windows 11
What terminal emulator and version are you using (if applicable)?
Windows Terminal; PowerShell 7 via VS Code version 1.140.0
Codex doctor report
Not collected. Further diagnostic commands were stopped because of the repeated terminal-window disruption.What issue are you seeing?
During normal Codex use on Windows, blank Windows Terminal windows repeatedly open and accumulate on the desktop. Several can remain visible simultaneously, obstructing other applications and seriously disrupting work.
The windows show an empty black console, sometimes with only a cursor. No error message is visible.
One screenshot shows a tab title beginning with:
%USERPROFILE%.codex\packa…
A later screenshot shows multiple windows with titles beginning with:
%USERPROFILE%\AppData\Loc…
This occurred during a Codex session involving file reads, Git status checks, and documentation edits. I did not request interactive terminal windows.
The issue persisted across sessions on October 1–2, 2026. Screenshots are attached.
What steps can reproduce the bug?
Uploaded thread: 01a0f920-b3b3-7ff2-a606-e2e02fe74238
What is the expected behavior?
Keep the existing Uploaded thread: … line, then append:
Observed sequence; the precise triggering command has not been isolated:
1. Use Codex on Windows with PowerShell and the elevated Windows sandbox.
2. Ask Codex to perform ordinary project work involving file reads, Git checks, or documentation edits.
3. During the work, blank Windows Terminal windows appear.
4. As work continues, additional blank windows appear and accumulate.
No particular repository operation has yet been established as the sole trigger.
Additional information
Configuration observed:
[windows]
sandbox = "elevated"
A read-only process inspection observed this parent-child relationship:
codex.exe → codex-code-mode-host.exe → conhost.exe
A process named codex-command-runner-0.157.0 was also observed.
These are diagnostic leads, not confirmation that either helper owns the visible windows. The root cause remains unidentified.
No configuration changes or fixes were applied. Please investigate console visibility and helper-process lifecycle on Windows.
Activity
github-actions commentedon Oct 2, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
markosuoanttila-byte commentedon Oct 2, 2026
HackWidMaddy commentedon Oct 2, 2026
I am also facing the same
calware commentedon Oct 3, 2026
Also facing this issue. This was NOT fixed as part of #49934 update 0.160.x
leike0813 commentedon Oct 3, 2026
Same issue. Upgrade to 0.160.x doesn't fix, even updated the codex app-server daemon to newest version.
ScarletMcLearn commentedon Oct 3, 2026
Same issue. Lol.
Can't you guys get Codex to solve it?
Its been like this for weeks.
IsabellHerzog-wq commentedon Oct 7, 2026
I’m experiencing the same issue on Windows 11 with Codex CLI 0.160.1.
In my case, the repeated terminal windows are especially disruptive because they come to the foreground and steal focus from other applications while Codex is working. This makes it very difficult to continue working in another application during longer Codex tasks.
The issue has persisted across several Codex updates. I would strongly appreciate either a fix or an option to keep these background operations completely in the background.