this is signal hander now set automatically for subprocesses after the fork
in portage.process.spawn().
svn path=/main/trunk/; revision=15826
signal.signal(signal.SIGINT, exithandler)
signal.signal(signal.SIGTERM, exithandler)
- # Quiet killing of subprocesses by SIGPIPE (see bug #309001).
+ # Prevent "[Errno 32] Broken pipe" exceptions when
+ # writing to a pipe.
signal.signal(signal.SIGPIPE, signal.SIG_DFL)
except KeyboardInterrupt:
signal.signal(signal.SIGINT, exithandler)
signal.signal(signal.SIGTERM, exithandler)
- # Quiet killing of subprocesses by SIGPIPE (see bug #309001).
+ # Prevent "[Errno 32] Broken pipe" exceptions when
+ # writing to a pipe.
signal.signal(signal.SIGPIPE, signal.SIG_DFL)
except KeyboardInterrupt: