Re: Defunct when using subprocess.Popen

2008-07-30 Thread Bruce Frederiksen
On Wed, 30 Jul 2008 01:56:28 -0300, Gabriel Genellina wrote: > You should call os.waitpid() after killing the child process, to let the > OS free the resources allocated to it. > The subprocess.Popen object supports a 'wait' method directly. -- http://mail.python.org/mailman/listinfo/python-lis

Re: Defunct when using subprocess.Popen

2008-07-29 Thread Gabriel Genellina
En Tue, 29 Jul 2008 10:04:46 -0300, Gordon Maria <[EMAIL PROTECTED]> escribi�: I'm running a GUI in python which is able to launch a separate python process that will run forever. In rare cases I will want to kill the launched process. Every time I do so, I end up with the process as defunc

Defunct when using subprocess.Popen

2008-07-29 Thread Gordon Maria
Title: Defunct when using subprocess.Popen Hi! I hope someone can help me out here! I'm running a GUI in python which is able to launch a separate python process that will run forever. In rare cases I will want to kill the launched process. Every time I do so, I end up with the pr

Defunct when using subprocess.Popen

2008-07-29 Thread Gordon Maria
Title: Defunct when using subprocess.Popen Hi! I hope someone can help me out here! I'm running a GUI in python which is able to launch a separate python process that will run forever. In rare cases I will want to kill the launched process. Every time I do so, I end up with the proce