Codex Windows App – UI closes but background processes remain, blocking relaunch
OpenAI Developer Community
April 16, 2026
I’ve run into a consistent issue with the Codex desktop app on Windows that looks like a process lifecycle bug.
Behavior:
- I close the Codex UI window normally.
- The application appears to exit.
- However, one or more background processes remain running.
- Attempting to reopen Codex does nothing — presumably because it detects an already running instance.
- The only way to recover is to manually kill the leftover processes in Task Manager.
Notes:
- This happens consistently, not sporadically.
- Feels like either:
- The app is not properly shutting down its process tree, or
- The single-instance guard is too strict and doesn’t recover from orphaned processes.
- If this is intentional (e.g., tray/minimized behavior), it’s not clear to the user and there’s no visible way to properly “quit” the app.
This isn’t a blocker, but it’s disruptive enough to break normal workflow.
Discussion in the ATmosphere