Rank, 14 days: 45 on the Claude Code sheet
14 people reported

All time, since Sep 26, including 6 thumbs-up on GitHub.

Bash tool halves backslashes

“On Windows, the Bash tool (Git Bash) halves every run of two or more backslashes in the command before bash sees it — regardless of shell quoting.”

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/432/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

Fading. 1 report or thumbs-up in the last 7 days and 3 the week before, down from 4 a week at the early-October peak. A workaround is known.

Bash tool halves backslash pairs on Windows, even when quoted. Happens before bash parses the command, so single quotes and quoted heredocs (<<'EOF') do not protect them; PowerShell tool unaffected.

Is this your bug?

File my report
Where
Bash tool
Versions
2.1.281 to 2.1.312
Platforms
Windows
How bad
Breaks a normal workflow.

Not quite your bug?

  1. Bash command truncated at 8186 chars11 people
  2. Bash tool loses PATH3 people

Original reports8, newest first

  1. Windows: Bash tool halves every double backslash in commands (MSYS2 parses the -c argument), breaking heredocs, JSON and paths#105606
  2. Bash tool drops one backslash from every \\ pair before the command reaches the shell#103496
  3. Windows: Bash tool commands are cut at about 8,191 characters, including a per-session environment prefix that grows with every SessionStart; double backslashes are halved before the shell sees the command#100936
  4. Windows: the Bash tool halves every backslash pair in a command before Git Bash parses it (heredocs and single quotes included)#100063
  5. Windows: Bash tool silently truncates commands over ~8K chars (each ' counts ~5) and collapses \\ to \ in quoted heredocs#99410
  6. Bash tool on Windows halves runs of backslashes, even inside single quotes and quoted heredocs#98733
  7. Windows Bash tool halves runs of backslashes even inside single quotes / quoted heredocs#98622
  8. Windows: the Bash tool halves every pair of backslashes before bash reads the command#97409

Do you work on Claude Code?

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