[BUG] Bash tool returns 'No content' - commands not executing on Intel Mac

Resolved 💬 3 comments Opened Jan 23, 2026 by linsy89 Closed Jan 27, 2026

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

  1. Run Claude Code on Intel Mac with the environment specified above
  2. Execute any Bash command (e.g., echo "test", ls, pwd)
  3. 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.

View original on GitHub ↗

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