how to kill a process

Evan Klitzke evan at yelp.com
Tue Jun 12 13:24:03 EDT 2007


On 6/12/07, Richard Rossel <henhiskan at gmail.com> wrote:
> But when the python code is called to kill the created process, the
> process is left in a zombie state.

If the process is left in a zombie state, it's because the parent
process isn't calling wait(2). If the parent process is your own
python script, you might try a call to os.wait after the kill
statement.

-- 
Evan Klitzke <evan at yelp.com>



More information about the Python-list mailing list