spawnProcess should reset signal handlers to default before exec()ing new executable
[email protected] Tue, 05 Jan 2010 16:38:03 -0000
| Newsgroups | gmane.comp.python.twisted.bugs |
|---|---|
| Message-ID | <[email protected]> |
New submission from itamarst <[email protected]>: Python (and presumably applications) override certain signals, in particular SIGPIPE; spawnProcessed processes will have SIGPIPE in a state they don't necessarily expect. We should reset signal handlers to their default before calling exec(). Ticket #4159 would allow this, but that still requires users to figure out they need to do this. It would be better to have good defaults and documented behavior. See http://bugs.python.org/issue1652 for a detailed write-up of Python's perspective on the issue. ---------- Type : enhancement Component: core Keywords : Priority : normal Nosy : ---------- http://twistedmatrix.com/trac/ticket/4199