[BUG] Bash tool returns exit code 1 with no output on Git Bash (Windows) since v2.1.45
Resolved 💬 2 comments Opened Feb 18, 2026 by devera-eco Closed Feb 18, 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?
Since updating to v2.1.45, the Bash tool fails silently on Git Bash for Windows.
Every command returns exit code 1 with no output. The same commands work fine when running Claude Code from PowerShell.
- Was working before auto-update to 2.1.45
- No changes made to system, Git Bash config, or PATH
- Issue started today (Feb 18, 2026) after auto-update
What Should Happen?
Commands should execute and return output, as they did in previous versions.
Error Messages/Logs
Error: Exit code 1
Steps to Reproduce
- Open Git Bash on Windows
- Run
claude - Ask Claude to run any bash command (e.g.,
pwd,echo hello) - Tool returns exit code 1, no output
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.44
Claude Code Version
2.1.45
Platform
Other
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗