Skip to content

Codex Windows App keeps spawning git.exe status --porcelain=v1 -z and leaves orphan git.exe / conhost.exe processes #17229

Description

@xiaoye-520

What version of the Codex App are you using (From “About Codex” dialog)?

26.325.3894.0

What subscription do you have?

On Windows, the Codex Windows App repeatedly spawns Git processes such as: - git.exe status --porcelain=v1 -z and also creates matching console host processes such as: - \??\C:\WINDOWS\system32\conhost.exe 0x4 After closing the Codex window, new processes stop appearing, but many existing git.exe / conhost.exe processes remain alive. Even after ending Codex.exe from Task Manager, the leftover Git-related processes are still present. This looks like the app is polling Git state very aggressively and not cleaning up child processes correctly on exit.

What platform is your computer?

No response

What issue are you seeing?

Image Image Image

C:\Users\root\Documents\New project\ is the default project directory used by Codex.

What steps can reproduce the bug?

  1. Open Codex Windows App.
  2. Open a Git repository.
  3. Observe Task Manager / Process Explorer.
  4. Notice repeated creation of:
    • git.exe status --porcelain=v1 -z
    • conhost.exe 0x4
  5. Close the Codex app window.
  6. New Git processes stop appearing, but many previously created git.exe / conhost.exe processes remain.
  7. End Codex.exe manually in Task Manager.
  8. Leftover git.exe / conhost.exe processes are still not cleaned up.

What is the expected behavior?

No response

Additional information

No response

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