windows code to detect if a process is still alive

Martin Pool mbp at canonical.com
Thu Apr 14 01:26:49 UTC 2011


Hi,

For detection of stale lock files, I want to detect whether a given
process id on the local machine still corresponds to a live process.
On unix, kill(pid, 0) will do this.  What's the best way to do this
from inside Python on Windows?

Martin



More information about the bazaar mailing list