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
Jeremy C B Nicoll - my opinions are my own.
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. On Windows, one approach is WMI. Here's an
There are other techniques, such as querying the top-level
windows or using the performance objects from the pywin32
Ah. Just realised: you're the chap who asked on the PyUK list.
Didn't really give a detailed answer there, did I? Sorry. For
*nix, have a look at Chris Miles' PSI. (Another Londoner like me).
... or I could eat my words and point you towards Christian Heimes