Re: Getting PID for process
On XP/2003 at least, os.system('taskkill /pid le ') will do. -- http://mail.python.org/mailman/listinfo/python-list
Re: Getting PID for process
try: import os myPID = os.getpid() So you can kill it at a later date, it would be worth writing that out to a file somewhere - C:\temp? I'm sure you can get a kill command for Win32. HTH J Harlin Seritt wrote: Let's say I have a simple script on Windows NT. I would like for that script to find