Codex Hanging When Using All Shell Commands (Powershell)
Resolved 💬 2 comments Opened Jun 5, 2026 by galkreiser1 Closed Jun 6, 2026
What version of Codex CLI is running?
0.137.0
What subscription do you have?
Plus
Which model were you using?
5.4, 5.5
What platform is your computer?
Windows 11
What terminal emulator and version are you using (if applicable)?
_No response_
Codex doctor report
not pasting it publically on github..
What issue are you seeing?
Codex shell execution appears stuck on trivial commands. On June 5, 2026, a minimal PowerShell command such as Write-Output 'ok' did not return in the session. The same sanity check was then delegated to a
sub-agent, and that sub-agent also remained running for 60 seconds without returning any result and had to be shut down manually. There was no useful shell output, timeout message, or normal completion
result.
What steps can reproduce the bug?
- Start a Codex session.
- Ask Codex to run a any / trivial shell command such as Write-Output 'ok'.
- Observe that the command does not return promptly.
What is the expected behavior?
Codex being able to use shell commands.
Additional information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗