[Bug] Claude Code bundled binary exits with code 1 when spawned by Desktop App
Resolved 💬 3 comments Opened May 12, 2026 by kartheek-artium Closed May 15, 2026
Bug Description
Desktop app Code tab: bundled 2.1.128 exits with code 1 immediately on every message. Direct invocation works:
claude.app/Contents/MacOS/claude -p "hi" --output-format json returns success in ~5s.
But when spawned by Claude.app 1.6608.2, it dies before first response.
Cleared quarantine via sudo xattr -cr; codesign verifies. Initial errno -88 resolved; now plain exit code 1.
Matches #40540 and #38156. macOS 15 / arm64. App version 1.6608.2, bundled binary 2.1.128, system CLI 2.1.139 (works fine).
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.1.139
- Feedback ID: a2debe5a-38b7-4c33-986c-8fbdd87eaaa7
Errors
[]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗