Skip to content

Windows desktop app launches visible PowerShell windows and interrupts voice dictation #35301

Closed

Description

Summary

On Windows, the Codex desktop app intermittently launches visible PowerShell/console windows. The window can briefly take foreground focus and interrupts active voice dictation.

App and platform

  • Codex desktop app (MSIX): 26.721.4979.0
  • Platform: Windows

Observed process evidence

The visible PowerShell is launched as a descendant of the Codex desktop app:

ChatGPT.exe -> codex.exe -> powershell.exe

One observed command was a non-interactive PowerShell process that collected CPU and memory information through Win32_PerfFormattedData_PerfProc_Process. Its command line did not include -WindowStyle Hidden or another no-console creation option.

Steps to reproduce

  1. Open Codex desktop on Windows with a local workspace.
  2. Work in an active Codex task and use voice dictation in another application or text input.
  3. Wait for Codex local diagnostics/resource collection or run a local tool command.
  4. A PowerShell/console window can briefly appear and take focus, interrupting dictation.

Expected behavior

Codex internal PowerShell processes should start without creating a visible console window and must not take foreground focus.

Actual behavior

A visible PowerShell/console window flashes periodically. The foreground change interrupts voice input even when the PowerShell work itself is non-interactive.

Requested fix

Please launch internal Windows PowerShell processes with a no-window creation mode from the start (for example, a process-creation option equivalent to CREATE_NO_WINDOW), rather than relying on a window being hidden after it has already been created.

Local mitigation and scope

A local event-based workaround can hide Codex-descended PowerShell windows after they appear, but a very short flash can remain because the window is already created. This is not a complete fix; the desktop app should suppress the console at process creation.

No personal data, workspace content, or account details are included in this report.

Activity

  1. added
    bugSomething isn't working
    appIssues related to the Codex desktop app
    windows-osIssues related to Codex on Windows systems
    on Jul 25, 2026
  2. github-actions commented on Jul 25, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

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

    appIssues related to the Codex desktop appbugSomething isn't workingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions