Best way to prevent zombie processes

Chris Angelico rosuav at gmail.com
Mon Jun 1 06:04:32 EDT 2015


On Mon, Jun 1, 2015 at 7:20 PM, Cecil Westerhof <Cecil at decebal.nl> wrote:
> But
> what if I want for certain Popen signals SIG_IGN and others SIG_DFL.
> How should I do that?

You can't. A signal is a signal; you can't specify default handling
for some and not others. The only way is to actually handle them, and
then you can decide what to do on a per-process basis.

ChrisA



More information about the Python-list mailing list