[BUG] Bash Tool Broken on Windows in Version 2.1.45

Resolved 💬 6 comments Opened Feb 17, 2026 by SeanTalley 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_

View original on GitHub ↗

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