Python SIGPIPE handling
Enrico writes about
creating pipelines with Python’s subprocess
module, and notes that you
need to take care to close stdout in non-final subprocesses so that
subprocesses get SIGPIPE
correctly. This is correct as far as it goes
(and true in any language, although there’s a Python bug report …