Unable to execute shell commands
Resolved 💬 1 comment Opened Sep 19, 2025 by iamgqb Closed Sep 19, 2025
What version of Codex is running?
codex-cli 0.39.0
Which model were you using?
a third-party provider
What platform is your computer?
Darwin 22.4.0 arm64 arm
What steps can reproduce the bug?
unable to execute any shell commands. seems due to a parsing issue with the tool interface。
I instructed Codex to print out the specific issues encountered, and on one occasion it provided the following information:
failed to parse function arguments: invalid type: string "[\"ls\", \"-la\"]", expected a sequence at line 1 column 31
What is the expected behavior?
_No response_
What do you see instead?
_No response_
Additional information
using Macos + iTerm2 + zsh
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗