Bash execution issues on VS Code

Issues the maintainers labelled both platform:vscode and area:bash.

62 issues · 13 open · 49 resolved (79%) · first seen Feb 23, 2026

Is this getting better or worse?

This class of problem is converging. 16 new reports in the last 90 days vs 25 in the 90 before — -36%. The open backlog peaked at 16 in 2026-04 and sits at 13 today.

0 4 8 12 16 2026-022026-052026-082026-10
2026-02 — First reports2026-04 — Peak backlog (16 open)

Derived by counting each matching issue from its creation date until it closed. First-party computation over the anthropics/claude-code tracker — the trend is not published anywhere upstream.

Which builds report this

40 of these reports name the Claude Code build they were running, spanning 35 releases. Heaviest reporters:

Report volume, not a defect count: an issue can mention a build without that build having caused the failure. Versions come from the version string in the bug-report template, matched against real published tags.

Do these get fixed?

Median time to close is 36 days across 49 closures. Of the 49 closures with a recorded reason, 10% were closed as completed and 44 as not-planned or duplicate. The most recent completed fix landed in 2026-08.

Workarounds reported by the community

21 of these issues post a workaround someone says worked. The highest-engagement ones:

[BUG] Bash comments break permissions
Workaround: a PreToolUse hook can strip the comment lines before permission matching sees them. The hook reads the command, removes leading lines, and returns the clean command via . Your allowlist then matches correctly…
Found in the thread of #29582 · resolved
[Bug] Parallel tool calls hang on Bash execution errors
…ocks → 400 wedges session), 63364 (full softbrick example). Workaround that holds: stay on 4.7, or set on 4.8 to remove parallel batches entirely (sequential, slower, but no cascade possible).
Found in the thread of #63881 · resolved
[BUG] Bash tool persistently returns exit code 1 with no output in Claude Code session
…te to a file, read it back with the Read tool" as a working workaround. That does not work here: echo BASH TEST OK <scratchpad /bashtest.txt; echo done printf 'WRITE TEST %s\n' "$$" <scratchpad /bashtest2.txt 2 /dev/null…
Found in the thread of #93838 · still open
[Windows] Bash tool permanently wedged: hook env (CLAUDE_ENV_FILE) grows on every compact, torn export line fails every command with "line 182: e: command not found" (exit 127)
…rom last-known-good instead of caching the poisoned script. Workarounds we applied (user side) - Hook now skips env writes when and batches all exports into a single atomic append — no recurrence since. - Recovery when w…
Found in the description of #78146 · still open
[BUG] VSCode extension: Bash tool does not capture stdout (commands run in popup terminal window)
…err is swallowed — failed commands return no output at all. Workaround: Redirect to a file and use the Read tool: git status c:/Users/me/out.txt 2 &1 then Read the file This works but adds friction to every shell operati…
Found in the description of #31449 · resolved

Excerpts are quoted from the linked issue so you can judge relevance before opening it. Threads that only ask for a workaround, or report that there is none, are excluded. These are community suggestions, not official guidance from Anthropic — read the full thread before applying one.

Matching issues 1–62

Ranked by community engagement (reactions weighted over comments).

Related aggregations

  1. Bash execution issues on macOS

    507 issues
  2. Bash execution issues on Windows

    335 issues
  3. Bash execution issues on Linux

    253 issues
  4. IDE integration issues on VS Code

    1,586 issues
  5. Model behaviour issues on VS Code

    596 issues
  6. Terminal UI issues on VS Code

    283 issues
  7. Cost and usage issues on VS Code

    248 issues
  8. Permissions issues on VS Code

    226 issues