Re: how to kill a process

2007-06-12 Thread James T. Dennis
Richard Rossel <[EMAIL PROTECTED]> wrote: > Hi Fellows, > I have a problem with process termination. I have a python code that > apache runs through a django interface. > The code is very simple, first, it creates a process with the > subprocess.Popen call, and afterwards, (using a web request) the

Re: how to kill a process

2007-06-12 Thread Richard Rossel
On 12 jun, 13:24, "Evan Klitzke" <[EMAIL PROTECTED]> wrote: > On 6/12/07, Richard Rossel <[EMAIL PROTECTED]> 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

Re: how to kill a process

2007-06-12 Thread Evan Klitzke
On 6/12/07, Richard Rossel <[EMAIL PROTECTED]> 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

Re: how to kill a process

2007-06-12 Thread Larry Bates
Richard Rossel wrote: > Hi Fellows, > I have a problem with process termination. I have a python code that > apache runs through a django interface. > The code is very simple, first, it creates a process with the > subprocess.Popen call, and afterwards, (using a web request) the > python code uses

how to kill a process

2007-06-12 Thread Richard Rossel
Hi Fellows, I have a problem with process termination. I have a python code that apache runs through a django interface. The code is very simple, first, it creates a process with the subprocess.Popen call, and afterwards, (using a web request) the python code uses the PID of the previously created