Ignore BrokenPipeError when piping the output of the sysconfig CLI
#110786
Labels
3.13
new features, bugs and security fixes
topic-sysconfig
type-feature
A feature request or enhancement


Feature or enhancement
Proposal:
I very often pipe the output of the
sysconfigCLI to the head utility from coreutils, so that I can check only the "paths" section of the output. This results in aBrokenPipeErrorexception, as we keep trying to write after the pipe closes.I'd be nice if we could suppress this error.
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
The text was updated successfully, but these errors were encountered: