Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.275 ·

Sandbox proxy trap now preserves the shell's exit code

Sandbox proxy script now preserves the shell's real exit code instead of masking it on exit

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal0worth watching, 1 to 5
AreaSandboxwhat it touches
KindBug Fixesin v2.1.275,
Under the hood

Sandbox proxy script now preserves the shell's real exit code instead of masking it on exit

What

The launcher for the socat-based sandbox proxy has a shutdown trap that runs when the process exits. Previously it just killed background processes and exited plainly; now it first captures the actual exit code ($?), kills the background processes, and then re-exits with that captured code.

Why

This means a sandboxed shell's real exit status is now correctly reported when it finishes, instead of being overwritten by the cleanup logic, so scripts or tools checking the exit code get an accurate result.

See this entry in the whole of v2.1.275 →