Unable to run any shell commands

Resolved 💬 2 comments Opened Jan 7, 2026 by zwettemaan Closed Apr 18, 2026

What version of Codex is running?

codex-cli 0.79.0

What subscription do you have?

ChatGPT Plus

Which model were you using?

gpt-5.2-codex

What platform is your computer?

Mac OS Sequoia 15.6.1

What issue are you seeing?

After starting codex, cannot do anything, even on a trivial project folder with just a README.md file. If I ask 'Display the README.md' it tries all kinds of things and eventually gives up and says: "• I’m unable to run any shell commands right now — even echo test is timing out in this environment. Can you check whether the command runner is functioning, or share the README.md contents directly?"

mkdir -p /tmp/codex-smoke && cd /tmp/codex-smoke && echo hi > README.md

codex → Approval mode Agent (current) (workspace sandbox)

Ask “run echo test” → returns (no output) then times out

codex sandbox macos -- /bin/echo test works

!echo test works

Agent (full access) works

What steps can reproduce the bug?

Uploaded thread: 019b9abf-4181-7490-97f1-5c7700e965f5

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗