Doing a ps in windows.. (Is application XYZZY running?)

Douglas Alan nessus at
Fri Jun 21 18:26:32 EDT 2002

I wrote:

> It seems that the list of processes is being cached, and then
> EnumObjectItems just returns the value from the cache.  How do I
> flush the cache?

Nevermind -- I figured it out myself.  To refresh the cache, you do:

   win32pdh.EnumObjects(None, None, 0, 1)


More information about the Python-list mailing list