Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.0.77 ·

EPIPE Error Handling for Piped Output

Entry
JSON All of v2.0.77
EntryKind: in v2.0.77,
ChangesSection of the release
What

Claude Code now gracefully handles broken pipe (EPIPE) errors when output is piped to another process that closes early.

Usage
claude -p "list files" | head -1  # No longer crashes if head closes early
Details
  • Prevents crashes when Claude Code's output is piped to a process that terminates before reading all output
  • Automatically destroys stdout/stderr streams on EPIPE instead of throwing an uncaught error
  • Improves CLI scripting reliability
Evidence

HS0() at line 519 (EPIPE handler, contains "EPIPE")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.0.77 →

Feedback