Bash tool: chained commands with && significantly slower than separate calls
Resolved 💬 2 comments Opened Mar 4, 2026 by Jeukoh Closed Mar 4, 2026
Description
When chaining two commands with && in a single Bash tool call, execution takes significantly longer than running the same commands as separate Bash tool calls.
Reproduction
Slow (chained):
Bash: uv run coops step start && workmux list
This hangs long enough that the user interrupted the tool call.
Fast (separate):
Bash: uv run coops step start
Bash: workmux list
Both complete instantly when run separately.
Expected Behavior
Chaining commands with && should have similar performance to running them sequentially as separate tool calls.
Environment
- Claude Code CLI
- Linux (Ubuntu)
- Shell: zsh
- Commands tested:
uv run coops step start && workmux list
Notes
The first command (uv run coops step start) produces output normally. The delay seems to occur when transitioning to the second command in the chain, or possibly related to output buffering behavior.
🤖 Generated with Claude Code
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗