Bash execution issues on macOS

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

507 issues · 136 open · 371 resolved (73%) · first seen May 29, 2025

Is this getting better or worse?

This class of problem is holding steady. 159 new reports in the last 90 days vs 207 in the 90 before — -23%. The open backlog peaked at 136 in 2026-10 and sits at 136 today.

0 34 68 102 136 2025-052025-112026-052026-10
2025-05 — First reports2026-04 — Most new reports (90)2026-10 — Peak backlog (136 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

362 of these reports name the Claude Code build they were running, spanning 157 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 33 days across 371 closures. Of the 371 closures with a recorded reason, 20% were closed as completed and 297 as not-planned or duplicate. The most recent completed fix landed in 2026-09.

Workarounds reported by the community

177 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
bypassPermissions mode now prompts on `cd DIR && grep …` when a Read() deny rule is configured (regression in 2.1.259)
…ws the mode was throughout and auto mode was never entered. Workaround Tell agents not to use prefixes or recursive grep over directories (use explicit file lists or a file-search tool). That removes the prompts but mean…
Found in the description of #91683 · still open
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

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 507 matches; the statistics above cover all 507.

Related aggregations

  1. Bash execution issues on Windows

    335 issues
  2. Bash execution issues on Linux

    253 issues
  3. Bash execution issues on VS Code

    62 issues
  4. Terminal UI issues on macOS

    3,716 issues
  5. Core CLI issues on macOS

    3,648 issues
  6. Model behaviour issues on macOS

    3,249 issues
  7. The desktop app issues on macOS

    2,253 issues
  8. Tool calls issues on macOS

    1,780 issues