[BUG] Bash Tool Broken on Windows in Version 2.1.45
Status Fixed / completed
Reported on v2.1.45
Maintainer reply None cached
Activity 6 comments · opened Feb 17, 2026 · closed Feb 17, 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?
When running bash commands on the latest version (2.1.45) in windows, the bash command fails with Exit Code 1 every time.
<img width="1092" height="473" alt="Image" src="https://github.com/user-attachments/assets/56a50e8f-7eee-4e1b-8ee2-e8700cc13d73" />
Downgrading to latest stable has resolved this:
<img width="371" height="250" alt="Image" src="https://github.com/user-attachments/assets/e96d92a4-d9af-48fd-b182-9194c37f152f" />
What Should Happen?
Bash tool should work
Error Messages/Logs
Exit Code 1 on all bash cmds.
Steps to Reproduce
Try to use bash on windows with latest stable.
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.45
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
_No response_
6 Comments
I tested this on two completely different windows machines and encountered the same issue
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
duplicate to my reported issue - https://github.com/anthropics/claude-code/issues/26413 - fine with keeping either open. (I have like 4 tabs open half on 45 half not and definately a regression on 45)
I searched but didn't see yours - close timing probably 🙂 we can close this one
Just opened one too: https://github.com/anthropics/claude-code/issues/26418
I'll comment on 26413. thanks guys
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.