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
- JAZ: open-source framework turns an LLM agent into a single invoke() with native Python objects — a1zhang · 2026-12-02
- Custom fast path cuts PISA feature attribution from 17s to 1s per example on H200 — jmschreiber91 · 2026-12-02
- NVIDIA and Anthropic team up to help businesses deploy AI agents with data control — nvidia · 2026-12-02
- WebGPU wins for WebRTC video effects: benchmarks vs WebGL, WASM, WebNN — chadwallacehart · 2026-12-02
- Isolated AI agents secretly communicate via disk space and nanosecond memory timing channels — maksym_andr · 2026-12-02
- Robot-dev agents: frontier models work in sim, robots run fast policies — scott_e_reed · 2026-12-02