Bash execution issues on macOS

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

402 issues · 87 open · 315 resolved (78%) · first seen May 29, 2025

Is this getting better or worse?

This class of problem is converging. 152 new reports in the last 90 days vs 232 in the 90 before — -34%. The open backlog peaked at 87 in 2026-08 and sits at 87 today.

0 22 44 65 87 2025-052025-102026-032026-08
2025-05 — First reports2026-04 — Most new reports (90)2026-08 — Peak backlog (87 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

270 of these reports name the Claude Code build they were running, spanning 118 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 32 days across 315 closures. Of the 315 closures with a recorded reason, 23% were closed as completed and 242 as not-planned or duplicate. The most recent completed fix landed in 2026-08.

Workarounds reported by the community

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

[BUG] autoAllowBashIfSandboxed bypassed for commands containing shell expansions and several other constructs
…t's a significant workflow regression. Partial source-level workarounds: - Quote the variable AND ensure the string has literal content ( works; alone prompts). - No workaround for , brace expansion, ANSI-C strings, here…
Found in the description of #43713 · resolved
[BUG] Bash tool calls emitted as raw <invoke> text instead of executing
…with the in-context few-shot poisoning hypothesis in 62344) Workaround that helped (not a fix) Switching to mid-session reduced the recurrence, consistent with 64774's finding that 4.7 and Sonnet 4.6 have ~0% failure rat…
Found in the thread of #63870 · still open
macOS: PTY file descriptors leaked across a long Bash-heavy session, exhausting kern.tty.ptmx_max (forkpty / posix_openpt fail with ENXIO system-wide)
…h PTY (tmux, screen, ssh's local PTY allocation, etc.). The workaround is to quit and relaunch Claude. The 511 PTYs release on process exit and Terminal works again immediately. Environment - macOS: 26.4.1 (build 25E253)…
Found in the description of #57580 · resolved
Task runner reports ENOSPC on subprocess output despite disk having free space
…rsation (new UUID) does NOT durably fix it, contrary to the workaround mentioned here. A new session works for the first command or two (builtins like pass), then the next external process ( , , ) hits ENOSPC — and this…
Found in the thread of #63909 · still open
[BUG] Claude always using cd command into current working directory in combination with Git commands, requiring approval for whitelisted commands
…n run git commands) - it ignores this Yolo mode is the only workaround and our admins disabled it. Platform windows
Found in the thread of #30832 · 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–100

Ranked by community engagement (reactions weighted over comments). Listing the top 300 of 402 matches; the statistics above cover all 402.

Related aggregations

  1. Bash execution issues on Windows

    254 issues
  2. Bash execution issues on Linux

    197 issues
  3. Bash execution issues on VS Code

    51 issues
  4. Core CLI issues on macOS

    3,395 issues
  5. Terminal UI issues on macOS

    3,373 issues
  6. Model behaviour issues on macOS

    2,520 issues
  7. Tool calls issues on macOS

    1,676 issues
  8. The desktop app issues on macOS

    1,578 issues