Handle SIGPIPE in click.echo().
Before adoption: this commit came in with the history the project adopted, so no landing records it.
When the output of a click program is sent to another program via a pipe, and the pipe is closed prematurely, click.echo() was printing an exception backtrace instead of silently exiting like most command line utilities. Fix #626 Fix #625
authored by Oscar Bonilla · committed by Markus Unterwaditzer · parent 501b641 · Browse files · 3 files+8 added−1 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
3 files+8 added−1 removed
- tests:+1 added−1 removed
- other:+7 added−0 removed