Python implmenentation of finding process's command line parameters.

Tim Golden mail at timgolden.me.uk
Fri Jul 3 15:48:32 EDT 2009


Giampaolo Rodola' wrote:
> On 3 Lug, 21:15, Tim Golden <m... at timgolden.me.uk> wrote:
>> dudeja.ra... at gmail.com wrote:
>>> I'm looking for some python implementation of finding the command line
>>> parameters of a process on Windows XP SP3 machine. I found some links but
>>> they all point me to the direction of c/c++ implememtations.
>>> I've seen WMI, but this takes time to load. So I just though if some one has
>>> done implementation and could pointing me in some right direction.
>> Someone recently posted an example using PSI [1] which seemed
>> quite fast.
>>
>> TJG
>>
>> [1]http://www.psychofx.com/psi/trac/wiki/
> 
> If I'm not mistaken psi shouldn't support Windows.
> You can use psutil:
> http://code.google.com/p/psutil/

Sorry. Exactly what I meant. (Should have checked for
the exact post rather than trusting to my memory).

TJG



More information about the Python-list mailing list