Finding Full Path to Process EXE

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Fri Mar 28 17:58:22 EDT 2008


En Fri, 28 Mar 2008 16:40:01 -0300, <misceverything at gmail.com> escribió:

> I would like to write a script that would enumerate all running
> processes and return the full path to the EXE of each running
> process.  However, I can't seem to find any good info on how to do
> this..any help is greatly appreciated.  Thanks.

Use Tim Golden's WMI wrapper.
Searching for "python enumerate running processes" with Google returns a  
reference to his module on the *first* hit. Searching in this newsgroup  
only, returns tons of references.

-- 
Gabriel Genellina




More information about the Python-list mailing list