[BUG] Bash tool commands execute but produce no output and file operations don't persist

Resolved 💬 3 comments Opened Jan 29, 2026 by m1dm4n Closed Feb 28, 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?

  • Commands like pwd, ls -la, echo, docker ps, python3 -V all return [No output] instead of displaying their output
  • File redirection operations (e.g., echo "lmao" > ./test_pipe) appear to execute without errors but don't actually create files
  • The Write/Read tools work correctly, suggesting the issue is specific to the Bash tool

What Should Happen?

Bash commands should display their output and file operations should persist

Error Messages/Logs

I didn't see anything.

Steps to Reproduce

  1. Run: echo "test" > ./test_file
  2. Run: ls -la ./test_file
  3. Result: [No output] but file doesn't actually exist
  4. Verify with Read tool - file not found

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.23 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

WSL (Windows Subsystem for Linux)

Additional Information

_No response_

View original on GitHub ↗

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