Re: subprocess.Popen zombie

2015-05-21 Thread Ian Kelly
On May 21, 2015 12:41 AM, "Thomas Rachel" < nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa...@spamschutz.glglgl.de> wrote: > > Am 20.05.2015 um 18:44 schrieb Robin Becker: > >> not really, it's just normal to keep event routines short; the routine >> which beeps is after detection of the cat's entrance

Re: subprocess.Popen zombie

2015-05-20 Thread Thomas Rachel
Am 20.05.2015 um 18:44 schrieb Robin Becker: not really, it's just normal to keep event routines short; the routine which beeps is after detection of the cat's entrance into the house and various recognition schemes have pronounced intruder :) You could add a timed "cleanup" routine which .wai

Re: subprocess.Popen zombie

2015-05-20 Thread Robin Becker
On 20/05/2015 16:42, Alain Ketterlin wrote: Robin Becker writes: . The code I used to use with os.spawnl was even worse in leaving zombies around. For the same reason (os.wait() and os.waitpid() let you ... wait for child-processes). I suppose I needed to keep a record of all t

Re: subprocess.Popen zombie

2015-05-20 Thread Alain Ketterlin
Robin Becker writes: > As part of a long running PyQT process running as a window app in Arch > linux I needed an alert sound, I decided to use the beep command and > the app code then looked like > > pid = Popen(['/home/robin/bin/mybeep', '-r3', '-f750', '-l100', '-d75']).pid > > the mybeep scri

Re: subprocess.Popen zombie

2015-05-20 Thread Cecil Westerhof
Op Wednesday 20 May 2015 15:16 CEST schreef Robin Becker: > As part of a long running PyQT process running as a window app in > Arch linux I needed an alert sound, I decided to use the beep > command and the app code then looked like > > pid = Popen(['/home/robin/bin/mybeep', '-r3', '-f750', '-l10