how to terminate a process on win32?

Myles myles at geocities.com
Tue May 25 21:49:09 EDT 2004


"Joe Wong" <joewong at mango.cc> wrote in message news:<mailman.164.1085188722.6949.python-list at python.org>...

> os.popen2() to start my daemon, I can't figure out a way to stop it 
> 'nicely'... Is there anything that I can do?

Mark Hammond's Python for Windows extensions includes a demonstration
of killing processes on Windows:

On my PC:
C:\Python23\Lib\site-packages\win32\scripts\killProcName.py

Python for Windows extensions:
http://starship.python.net/crew/mhammond/
https://sourceforge.net/projects/pywin32/

Regards, Myles.



More information about the Python-list mailing list