Getting Process Name on Win32

Rama ramasubramani.g at gmail.com
Wed Sep 6 07:06:41 EDT 2006


On 06/09/06, Tim Golden <tim.golden at viacom-outdoor.co.uk> wrote:
>
> [Rama]
>
> |      I want to list the names of all the processes running on
> | my machine. I am stuck at this point and do not know how to
> | extract the name of a process.
>
> WMI is good for this kind of thing:
>
> http://tgolden.sc.sabren.com/python/wmi_cookbook.html#running_processes
>
>
Awesome. That works for me.

Just curious, however - is there any way at all to get this through the
win32* modules? I notice that there is a Windows API -
QueryFullProcessImageName
- but I don't see this in these modules (or maybe I am not looking closely
enought).

thanks,
Rama
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20060906/ba4f6be9/attachment.html>


More information about the Python-list mailing list