subprocess.Popen - terminate

2005-11-15 Thread py
I am using subprocess.Popen to execute an executable, how can I terminate that process when I want? for example (on windows) p = subprocess.Popen("calc.exe") now say I want to kill calc.exe ...how can I do it? By the way, I am not looking for a windows only solution I need something that i

Re: subprocess.Popen - terminate

2005-11-15 Thread Ernesto
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/347462 Also try searching this group for "subprocess kill" -- http://mail.python.org/mailman/listinfo/python-list