Finding out what other tasks are running

Tim Golden mail at timgolden.me.uk
Fri Nov 23 14:58:29 CET 2007


Tim Golden wrote:
> Jeremy C B Nicoll wrote:
>> Is there a cross-platform of determining what other processes (or in Windows
>> terms, other applications) are running?
>>
>> Is it possible in a cross-platform way to ask some other application to shut
>> down, wait a while, and then test to see if it did shut?
>>
>> Failing that are there separate Windows, Mac and Linux/Unix ways of doing
>> this?
> 
> Sorry, thought I'd part-answered this a while back; doesn't seem
> to have shown up. In short, I don't believe there's anything
> truly x-platform...

... or I could eat my words and point you towards Christian Heimes
enumprocess package:

http://cheeseshop.python.org/pypi/enumprocess

TJG



More information about the Python-list mailing list