Claude Code Bug: Background Commands Report False Exit Code 0 on Failure
myntriq-engg · ghdev · 2026-08-30
A user reported a critical bug in Claude Code where backgrounded shell commands (runinbackground: true) incorrectly report "exit code 0" (success) even when they fail partway through. In a reproducible case, a docker push failed due to a registry timeout—despite the script having set -euo pipefail—yet both the harness output and the task notification claimed success. This prevents actual error detection during deployments.
More from coding & agent
- Simon Willison: code mode is the future of tool calling, if it can be sandboxed — springrod · 2026-10-16
- Dev workflow: Astra for tedious tasks, Claude for ideas not implementation — menhguin · 2026-10-16
- Agent named 'Ilya' reportedly scores 1.1pt higher on benchmarks — daniel_mac8 · 2026-10-16
- Gemini CLI fix: substring matching inlined unrequested binary files into model context — priyanshu1976 · 2026-10-16
- Building AI agents on real healthcare claims data: the domain work that makes them work — alex_verem · 2026-10-16
- OpenAI stealth-testing mysterious internal model 'Aeon' in Codex desktop app and Dots — cedric_chee · 2026-10-16