how to kill a subprocess

Christian Heimes lists at cheimes.de
Fri Sep 10 21:18:27 CEST 2010


Am 10.09.2010 20:56, schrieb cerr:
> But I wanna kill the child process I start from my python code.
> It's like
> PHP -> Python -> Perl
> 
> and when the connection PHP -> Python seems to work well!

You have said that the Python process becomes a zombie process. This
clearly tells me that the issue is in your PHP script. See
http://en.wikipedia.org/wiki/Fork-exec

Christian




More information about the Python-list mailing list