[BUG]
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?
The Bash tool returns (Bash completed with no output) for every command — including trivial ones like echo "test", whoami, pwd, and git --version. No stdout, no stderr. All other tools (Read, Write, Edit, Glob, Grep) work normally. The issue persists for the entire session, including after the user restarts.
What Should Happen?
Bash tool should capture and return stdout/stderr from the underlying shell process.
Error Messages/Logs
No error messages — that's the problem. Every command returns the same empty result: (Bash completed with no output).
Steps to Reproduce
Steps to Reproduce
Open Claude Code on Windows 11 (Desktop App)
Working directory: an Obsidian vault (non-git directory)
Claude Code spawns Git Bash (MINGW64) as shell — visible in shell snapshot PATH: /mingw64/bin:/usr/local/bin:/usr/bin
Run any Bash tool command, e.g. echo "hello"
Output: (Bash completed with no output)
No .bashrc or .bash_profile exists in the user's home directory
Issue is intermittent — previous sessions on the same machine had working Bash output
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
Last Working Version: Unknown exact version — worked in a session ~24h prior on the same machine (v2.1.111). Same version, different session.
Claude Code Version
2.1.111
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Other
Additional Information
Terminal/Shell: Git Bash (MINGW64/MSYS2, auto-detected by Claude Code)
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗