[python-win32] fast test if (unknown) process is running ? Why not use Autoit ?
Stef Mientki
stef.mientki at gmail.com
Sat Aug 7 00:34:55 CEST 2010
thanks Tim,
On 06-08-2010 21:18, Tim Golden wrote:
>> but that looks quit more complicated than psutils,
>> besides that I believe that psutils is platform independant.
> 0.0829999446869
>
> Well, just to phrase is slightly differently:
>
> <code>
> import wmi
>
> c = wmi.WMI ()
> for p in c.Win32_Process (Name="xchat.exe"):
> print p
> break
> else:
> print "Not found"
>
> </code>
>
that looks much better,
but still windows only ;-)
cheers,
Stef
> TJG
>
More information about the python-win32
mailing list