Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!news.swapon.de!news.panservice.it!feed.xsnews.nl!border02.ams.xsnews.nl!feeder04.ams.xsnews.nl!abp001.ams.xsnews.nl!frontend-F10-17.ams.news.kpn.nl From: Cecil Westerhof Newsgroups: comp.lang.python Subject: Re: Best way to prevent zombie processes Organization: Decebal Computing References: <87vbf8l9e7.fsf@Equus.decebal.nl> <871thvlj3e.fsf@Equus.decebal.nl> <8761778sgz.fsf@elektro.pacujo.net> X-Face: "(y8cC@tg_12{">GF'UXTW]FHI2wMiZNrnf'1EFQ&O#$m:f#O7+7}kR,v+Pti8=Vi/Z"g^?b"E X-Homepage: http://www.decebal.nl/ Date: Mon, 01 Jun 2015 16:37:07 +0200 Message-ID: <87siabjy0c.fsf@Equus.decebal.nl> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:iWeq8XGqODmiJNb998X9X56Nbw0= MIME-Version: 1.0 Content-Type: text/plain Lines: 21 NNTP-Posting-Host: 81.207.62.244 X-Trace: 1433169956 news.kpn.nl 20796 81.207.62.244@kpn/81.207.62.244:37364 Xref: csiph.com comp.lang.python:91678 Op Monday 1 Jun 2015 15:32 CEST schreef Marko Rauhamaa: > Cecil Westerhof : > >> 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