Re: terminating an inactive process

2005-04-05 Thread fred.dixon
if you have pywin32 then check out a download from MS download called script-o-matic2. it will write some boilerplate code that is usefull for killing processes. its wmi based but works nicely. i have a script that i run on my home computer if you want a sample. -- http://mail.python.org/mailma

Re: terminating an inactive process

2005-04-04 Thread Trent Mick
[Earl Eiland wrote] > I'm running a PyWin program that executes another program using > subprocess.Popen(). Unfortunately, this other program isn't well > behaved, and frequently terminates without terminating its process. > After this happens enough times, all my memory is tied up, and the > mac

Re: terminating an inactive process

2005-04-02 Thread fred.dixon
i use this to open/close netscape as it also doesnt like to close all the time. its a WMI script but easiely edited. check out script-o-matic from ms-downloads , it outputs python code as well as others. ## strComputer = "." Set o

terminating an inactive process

2005-04-02 Thread Earl Eiland
I'm running a PyWin program that executes another program using subprocess.Popen(). Unfortunately, this other program isn't well behaved, and frequently terminates without terminating its process. After this happens enough times, all my memory is tied up, and the machine crashes. Using subproces