getting windows processes list

David LeBlanc whisper at oz.net
Mon Jun 3 18:30:11 EDT 2002


I'm not sure that mere mortal programs are allowed access to that
information due to Window's (NT's) arcane idea of what constitutes security.
I think you're doing well to get your own PID.

David LeBlanc
Seattle, WA USA

> -----Original Message-----
> From: python-list-admin at python.org
> [mailto:python-list-admin at python.org]On Behalf Of Grant Griffin
> Sent: Monday, June 03, 2002 10:53
> To: python-list at python.org
> Subject: getting windows processes list
>
>
> Hi Gang,
>
> Does anybody know offhand how to use Python to get the list of
> processes that
> are currently running on Windows?  (I'm essentially trying to get the
> information that appears in Window's Task Manager's "Processes" tab.)
>
> not-gifted-at-finding-needles-in-haystacks-ly y'rs,
>
> =g2
>
> _________________________________________________________________________
>
> Grant R. Griffin                                           g2 at dspguru.com
> Publisher of dspGuru                               http://www.dspguru.com
> Iowegian International Corporation                http://www.iowegian.com
>
> --
> http://mail.python.org/mailman/listinfo/python-list






More information about the Python-list mailing list