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
- Celeris-1 Magnus: New Model Claims Top Spot on τ³-bench for Agentic Work — timshi_ai · 2026-09-01
- CommerceAgentBench released: Qwen leads open-weight models — Alibaba_Qwen · 2026-09-01
- Agents can't verify people: data enrichment APIs are failing — Dry_Steak30 · 2026-09-01
- Automated User Interview Agent Workflow Integrating Posthog, Notion, and Grok — lennysan · 2026-09-01
- Using Grok Bot to build college admissions dataset pipeline — lennysan · 2026-09-01
- Idea: 'Money Leak Hunter' Grok Bot for finance audit — lennysan · 2026-09-01