Best way to prevent zombie processes

Cecil Westerhof Cecil at decebal.nl
Mon Jun 1 10:37:07 EDT 2015


Op Monday 1 Jun 2015 15:32 CEST schreef Marko Rauhamaa:

> Cecil Westerhof <Cecil at decebal.nl>:
>
>> Thread(target = p.wait).start()
>>
>> [...]
>>
>> How about this way of solving it?
>
> It works.

That I knew: I tested it before I posted it. What I mend is this
better, worse, or the same as working with signal. In my eye it is
much better, but maybe there is a reason that would make my line of
thinking wrong.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof



More information about the Python-list mailing list