Rank, 14 days: 52 on the Claude Code sheet
11 people reported
All time, since Sep 27, including 7 thumbs-up on GitHub.
Bash command truncated at 8186 chars
“Git Bash on Windows executes only the first 8186 characters of a -c argument and drops the rest without an error.”
Is this your bug? What gets counted gets fixed. Pile on.
Paste this into your agent. It files your report, with your error and version.
I hit this bug: rapsheet.dev/sheets/claude-code/issues/1288/file Follow it to file my report. Show me the text before you send.
No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends
Bash tool command silently truncated at 8,186 characters on Windows. Git Bash/MSYS drops the rest of the composed bash -c string, so commands fail, run partly, or return no output.
Is this your bug?
File my report- Where
- Bash tool
- Error text
unexpected EOF while looking for matching '- Versions
- 2.1.281 to 2.1.316
- Platforms
- Windows
- How bad
- Security risk: something exposed, or done without permission.
Not quite your bug?
- Bash tool halves backslashes14 people
- Bash tool loses PATH3 people
Original reports4, newest first
- [Windows / Git Bash] Bash tool commands reach bash with backslash pairs halved and cut past 8186 characters#106695
- Bash tool silently returns no output on Windows when session-env hook output grows past ~8 KB#103861
- Windows: Bash tool's composed bash -c string is silently cut at 8186 chars by MSYS (7774 left for the command); backslash runs halved#102533
- Windows: Bash tool silently truncates the wrapped command at 8,186 chars, so commands don't run, run partly, or dump the environment#97692