Re: Running and killing a process in python

2011-05-04 Thread Jean-Michel Pichavant
James Mills wrote: On Wed, May 4, 2011 at 10:45 AM, Astan Chee wrote: Hi, I'm trying to make a python script (in windows 7 x64 using python 2.5) to start a process, and kill it after x minutes/seconds and kill all the descendants of it. Whats the best way of doing this in python? which modul

Re: Running and killing a process in python

2011-05-03 Thread James Mills
On Wed, May 4, 2011 at 10:45 AM, Astan Chee wrote: > Hi, > I'm trying to make a python script (in windows 7 x64 using python 2.5) to > start a process, and kill it after x minutes/seconds and kill all the > descendants of it. > Whats the best way of doing this in python? which module is best suite

Running and killing a process in python

2011-05-03 Thread Astan Chee
Hi, I'm trying to make a python script (in windows 7 x64 using python 2.5) to start a process, and kill it after x minutes/seconds and kill all the descendants of it. Whats the best way of doing this in python? which module is best suited to do this? subprocess? thanks for any help -- http://mail.