You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
StartupArea: what it touches
ImprovementsKind: in v2.1.331,
ImprovementsSection of the release
Unclear It is not settled whether other parts of Claude Code still treat piped output as non-interactive.
What
Claude Code checks at startup whether it is running non-interactively, with no person typing at it. That check used to return yes whenever output was not going to a terminal, for example when you pipe output into another program or redirect it to a file. Now it returns yes only when Claude Code is started with one of these:
A run whose output is piped or redirected, without one of those flags, may now take the interactive path. If you script Claude Code, pass -p or --print explicitly to get non-interactive behaviour.
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not settled whether other parts of Claude Code still treat piped output as non-interactive.