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

Growing. 3 reports and thumbs-up in the last 7 days and none the week before, down from 7 a week at the mid-October peak.

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?

  1. Bash tool halves backslashes14 people
  2. Bash tool loses PATH3 people

Original reports4, newest first

  1. [Windows / Git Bash] Bash tool commands reach bash with backslash pairs halved and cut past 8186 characters#106695
  2. Bash tool silently returns no output on Windows when session-env hook output grows past ~8 KB#103861
  3. 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
  4. Windows: Bash tool silently truncates the wrapped command at 8,186 chars, so commands don't run, run partly, or dump the environment#97692

Do you work on Claude Code?

Claim its RAP Sheet to see what your users report and answer them in one place.