Codex cannot find and use basic tools like ls, dir, echo
Resolved 💬 2 comments Opened Aug 17, 2025 by feifanphys Closed Aug 18, 2025
What version of Codex is running?
codex-cli 0.22.0
Which model were you using?
local open source models
What platform is your computer?
Microsoft Windows NT 10.0.26100.0 x64
What steps can reproduce the bug?
ask codex to check files in the folder
What is the expected behavior?
codex should run the dir command and list all files in the folder.
What do you see instead?
<img width="260" height="122" alt="Image" src="https://github.com/user-attachments/assets/221c7f92-d085-4e7b-bf3a-7a35e49c0784" />
Additional information
codex can find and run python.
<img width="361" height="124" alt="Image" src="https://github.com/user-attachments/assets/eb3e369b-79e4-4a05-aaaf-b00e4efaa660" />
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗