Seeing (& killing) Windows processes?

Eddie edd at hotpop.com
Sun May 18 23:35:25 EDT 2003


I do need to be able to run this on all win32 workstation OSes
(Win95, 98, Me, NT4, 2000 Pro, XP Pro).
I'm still interested in the package mentioned.
How would I acquire Mark Hammond's win32all package?

Eddie.



woodsplitter at rocketmail.com (David Rushby) wrote in message news:<7876a8ea.0305171015.1cbb1308 at posting.google.com>...
> Syver Enstad <syver-en+usenet at online.no> wrote in message news:<u1xyxk8ut.fsf at online.no>...
> > edd at hotpop.com (Eddie) writes:
> > 
> > > Hi all,
> > > 
> > > Is it possible to check which windows processes (from other programs)
> > > are running & kill them.
> > > For example, if I want to see if the Internet Explorer process
> > > (iexplore.exe) is running & kill it if it is.
> > 
> > Install Mark Hammond's win32all package.
> > 
> > Open the help file, see the performance monitor sample (win32pdh).
> > 
> > Use OpenProcess with the pid that you get, then TerminateProcess with
> > the handle that OpenProcess returned
> 
> This won't work on versions of Windows prior to the NT family, though.
>  I wrote an extension module to kill portably on both the Win9x family
> and the NT family.




More information about the Python-list mailing list