Skip to content

Windows: repeated blank terminal windows appear during normal Codex use #50193

Open

Description

@markosuoanttila-byte

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

  1. added
    bug
    on Oct 2, 2026
  2. added
    CLI
    windows-os
    sandbox
    on Oct 2, 2026
  3. markosuoanttila-byte commented on Oct 2, 2026

    @markosuoanttila-byte
    Author
    Image
  4. HackWidMaddy commented on Oct 2, 2026

    @HackWidMaddy

    I am also facing the same

  5. calware commented on Oct 3, 2026

    @calware

    Also facing this issue. This was NOT fixed as part of #49934 update 0.160.x

  6. leike0813 commented on Oct 3, 2026

    @leike0813

    Same issue. Upgrade to 0.160.x doesn't fix, even updated the codex app-server daemon to newest version.

  7. ScarletMcLearn commented on Oct 3, 2026

    @ScarletMcLearn

    Same issue. Lol.
    Can't you guys get Codex to solve it?
    Its been like this for weeks.

  8. IsabellHerzog-wq commented on Oct 7, 2026

    @IsabellHerzog-wq

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIbugsandboxwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions