[Windows][Desktop 26.721.4979.0] Blank console flashes during tool activity: ChatGPT.exe spawns PowerShell/conhost process snapshots
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- powershell, rust
- Domain
- desktop, operating-systems
Research direction
Start by tracing the Windows-native agent or desktop code that launches the two PowerShell snapshot commands shown in the report. Reproduce the tool activity while observing ChatGPT.exe descendants, then verify that process-tree and CPU sampling no longer create a visible conhost.exe window.
Written by the indexing model from the issue text.
Description
Summary
On Windows, Codex Desktop briefly flashes an empty black console window during active local tool work. Process tracing shows that the window is a conhost.exe child of short-lived powershell.exe processes spawned directly by ChatGPT.exe.
This is user-visible even though the PowerShell commands are invoked with -NoProfile -NonInteractive.
Environment
- Windows 11, Windows-native agent
- Codex Desktop MSIX:
OpenAI.Codex_26.721.4979.0_x64__2p2nqsd0c76g0 ChatGPT.exeis the direct parent of the short-lived PowerShell processes- Microsoft Store reported no newer package version available
Symptom
An empty black console window flashes for a fraction of a second while working in Codex, approximately every 11–14 seconds during the observed task.
Observed user timestamps:
- 23:36:07–08
- 23:36:19
- 23:36:30
- 23:38:40
- 23:38:54
Process evidence
A 50 ms local process-creation trace captured the following chain during later active tool activity:
ChatGPT.exe
-> powershell.exe -NoProfile -NonInteractive -Command
Get-CimInstance Win32_Process |
Select-Object ProcessId,ParentProcessId |
ConvertTo-Json -Depth 2
-> conhost.exe
ChatGPT.exe
-> powershell.exe -NoProfile -NonInteractive -Command
Get-CimInstance Win32_PerfFormattedData_PerfProc_Process ...
Get-CimInstance Win32_Process -Filter "ProcessId = ..." ...
-> conhost.exe
The trace recorded the parent as the packaged ChatGPT.exe process for both PowerShell commands. The paired conhost.exe creation coincides with the visible blank console flash.
Expected behavior
Background process-tree and CPU sampling should not create visible console windows. Those subprocesses should be launched without a visible console or be replaced with a non-console process-inspection mechanism.
Reproduction
- Open Codex Desktop on Windows with the Windows-native agent.
- Work in a local task that invokes shell/tool calls.
- Observe short-lived blank black console windows during tool activity.
- Inspect descendants of
ChatGPT.exe; short-livedpowershell.exeandconhost.exeprocesses appear for the process-tree and CPU snapshot queries.
Related report
This appears related to #33776, which also reports Windows Codex Desktop descendants and conhost.exe process churn. This report focuses on the immediately visible console-window symptom and the direct PowerShell snapshot commands.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.5k
- Avg merge
- 1m
- Merged PRs (30d)
- 1k
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openai/codex
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug CLI windows-os
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
macOS sandbox blocks hw.optional.arm64 sysctl, causing Flutter to misdetect Apple Silicon as x64 Openbug CLI sandbox
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug CLI TUI
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
CLI config enhancement skills
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
A-linter
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oxc-project/oxc#26863 ·