Cannot execute command
Resolved 💬 1 comment Opened Oct 16, 2025 by letanloc1998 Closed Oct 18, 2025
What version of Codex is running?
codex-cli 0.46.0
What subscription do you have?
None
Which model were you using?
qwen3-coder-480b-a35b-instruct
What platform is your computer?
Linux 6.6.87.2-microsoft-standard-WSL2 x86_64 unknown
What issue are you seeing?
Cannot execute command because of shell tool.
Eg:
Execute: echo "test" > test.txt
Codex CLI will execute echo test '>' test.txt (invalid '>')
<img width="2378" height="651" alt="Image" src="https://github.com/user-attachments/assets/91a3fced-dab9-4b2f-86b6-16c2ac97ed0a" />
What steps can reproduce the bug?
Ask AI create a simple Java.class => cannot create or edit
What is the expected behavior?
execute echo "test" > test.txt instead of echo test '>' test.txt
Additional information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗