[Tutor] working w/ processes?

Danny Yoo dyoo@hkn.eecs.berkeley.edu
Mon Feb 17 10:44:02 2003


On Sat, 15 Feb 2003 Jmllr891@cs.com wrote:

> I know that it is possible under *nix operating systems, but is it
> possible to access and/or kill currently running processes under MS
> Windows with Python?

Hello!  Has anyone replied to you about this yet?  I'm getting the feeling
your question is slightly specialized; you might want to ask on the
python-win32 list for this one.

I did some Googling: according to,

    http://mail.python.org/pipermail/python-list/2002-January/079640.html

the win32api extensions should include a sample script called
"killProcName.py" that demonstrates how to kill win32 processes.


Accordingt to Mark Hammond, it only works on NT/2k/XP machines though:

    http://mail.python.org/pipermail/python-list/2000-January/020468.html

but, then, that email was written a few years ago, so the situation may
have changed.  If you ask on the python-win32 list, I'm sure that the
gurus there may be able to help you better.  Here's the link to the
python-win32 list:

    http://mail.python.org/mailman/listinfo/python-win32


Good luck to you!