[BUG] - Bash tool commands extremely slow (~30s) despite being instant in normal terminal
Resolved 💬 6 comments Opened Feb 11, 2026 by jayminwest Closed Apr 3, 2026
Description
Bash tool commands inside Claude Code take ~30 seconds to execute ("Waiting..." / "Running..." states), while the exact same commands run instantly in a normal terminal session. This is a clear regression and is reproducible across two separate machines.
Reproduction Steps
- Open Claude Code in a project directory
- Run any simple command via the Bash tool (e.g., a lightweight CLI tool,
ls,git status) - Observe the command sits in "Waiting..." or "Running..." state for ~30 seconds before returning
- Run the same command in a normal terminal — it completes instantly
Expected Behavior
Commands should execute with similar latency as a normal terminal session (sub-second for simple commands).
Actual Behavior
Commands hang for ~30 seconds in the "Waiting..." / "Running..." state before results are returned. This affects all Bash tool invocations, not just specific commands.
Environment
- Claude Code version: 2.1.39 / 2.1.38
- OS: macOS 15.3 (Sequoia), Darwin 24.3.0
- Hardware: Apple M2 Ultra, 192GB RAM, 24 cores
- Shell: zsh
- Reproducible on: Two separate machines
Additional Context
- No hooks configured in
.claude/settings.json - No shell profile issues (commands are instant outside CC)
- System resources are not constrained (192GB RAM, 24 cores, low CPU usage)
- The issue is consistent across all command types, not specific to any particular CLI tool
- Downgrading Claude Code versions did not resolve the issue
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗