[BUG] WHY MY CLAUDE CODE ALWAYS EXIT CODE 1 WHEN USING BASH WINDOWS
Resolved 💬 4 comments Opened Feb 18, 2026 by rmffo Closed Feb 21, 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?
<img width="669" height="197" alt="Image" src="https://github.com/user-attachments/assets/8d3a7885-01bd-4c1b-ba3c-86f913de396b" />
This is not happening before i did something to write a markdown skill and use it. But not
What Should Happen?
No exit code 1
Error Messages/Logs
I CANT SEE ANY ERROR AS CLAUDE CODE DO NOT HAVING A VERBOSE MODE THAT IS VERBOSE ENOUGH. CANT SEE WHAT CLAUDE DOING, HOW CLAUDE SPAWN/CALL BASH . ETC ETC
Steps to Reproduce
JUST BASIC CLAUDE START AND PROMPT IT TO ECHO HELLO USING BASH
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
2.4.15
Claude Code Version
2.4.15
Platform
Other
Operating System
Windows
Terminal/Shell
Other
Additional Information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗