[BUG] Bash tool returns 'No content' - commands not executing on Intel Mac
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Bug Description
The Bash tool returns "No content" or "Tool ran without output or errors" for all commands, but the commands are not actually being executed.
## Environment
- macOS Version: Darwin 23.6.0
- Claude Code Version: 2.1.17
- Node.js Version: v22.18.0
- Architecture: x86_64 (Intel Mac)
## Symptoms
- All Bash commands return "No content" or "Tool ran without output or errors"
- Commands do not actually execute (no side effects observed)
- Both stdout and stderr are empty/not captured
- Even intentionally failing commands (e.g.,
ls /nonexistent_path) show the same behavior
## Debug Log Key Error
Shell snapshot file not found after creation
## Steps to Reproduce
- Run Claude Code on Intel Mac with the environment specified above
- Execute any Bash command (e.g.,
echo "test",ls,pwd) - Observe that the output is empty and commands don't seem to execute
What Should Happen?
Bash commands should execute and return their stdout/stderr output.
Error Messages/Logs
Steps to Reproduce
Commands return "No content" with no actual execution occurring.
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.17
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
Commands return "No content" with no actual execution occurring.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗