Claude Code v2.1.261 · 4 Sep 2026
A new env var stops Claude Code from hanging when stdout is slow, like when piped somewhere.
Use it now Tier: how much it should matter to you
3 Useful: my rating, 1 to 5
1 Signal: worth watching, 1 to 5
Terminal Renderer Area: what it touches
New Features Kind: in v2.1.261, 04 Sep 26
What probably matters to you Section of the release
A new CLAUDE_CODE_NONBLOCKING_STDOUT environment variable makes the terminal renderer install a non-blocking stdout writer with backpressure handling instead of writing directly. This can prevent the process from hanging when stdout is slow or blocked, such as when piped to a slow consumer.
What the documentation says
How sure we are
One source agrees One thing we can check says the same as this entry.
The name it cites is new in this build New in this build: CLAUDE_CODE_NONBLOCKING_STDOUT
See this entry in the whole of v2.1.261 →
4 Sep 2026 · 179 entries, this one is #23.
Use it now15 You'll notice76 Nothing to try yet19 Under the hood69
Open the release →
Names in this entry
env CLAUDE_CODE_NONBLOCKING_STDOUT Set to 1 to write terminal output through a second non-blocking file descriptor, so a terminal that stops reading, such as a paused tmux control-mode pane or a stalled SSH connection, can't freeze Claude Code mid-session. Applies on macOS, Linux, and WSL when stdout is a terminal. Requires Claude Code v2.1.261 or later
Is this right?
0
0
Feedback
What's wrong with this entry?
Hard to understand Too vague Looks wrong Not relevant to me Too long Missing the detail I wanted Duplicate of another card
Clear Learned something new I can act on this Good catch
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
← Previous · 22 of 179
Worker-restart continuity for excludeDynamicSections, with a kill switch
Under the hood Elsewhere
In v2.1.261 What probably matters to you release-page order
Next → · 24 of 179
New CLI flag --append-subagent-system-prompt-file
Use it now CLI