Gregory P. Smith <g...@krypto.org> added the comment:

Ah right, thanks.  I added a restore_signals=True argument to Popen in Python 
3.2's subprocess module that does what you want:

http://docs.python.org/dev/library/subprocess.html

The way to emulate that in earlier versions is to use a preexec_fn to restore 
the signal handler for SIGPIPE to SIGDFL.

You can also use backport of 3.2's subprocess module available here: 
http://code.google.com/p/python-subprocess32/

----------
resolution:  -> wont fix
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9994>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to