Does anyone have a pythonic way to check if a process is dead, given
the pid?
This is the function I'm using is quite OS dependent. A good candidate
might be try: kill(pid), since it throws an exception if the pid is
dead, but that sends a signal which might interfere with the process.
Thanks.
In article
[EMAIL PROTECTED],
bukzor [EMAIL PROTECTED] wrote:
Does anyone have a pythonic way to check if a process is dead, given
the pid?
This is the function I'm using is quite OS dependent. A good candidate
might be try: kill(pid), since it throws an exception if the pid is
dead, but
On Wed, May 21, 2008 at 3:02 PM, bukzor [EMAIL PROTECTED] wrote:
Does anyone have a pythonic way to check if a process is dead, given
the pid?
This is the function I'm using is quite OS dependent. A good candidate
might be try: kill(pid), since it throws an exception if the pid is
dead, but
On May 21, 12:13 pm, Roy Smith [EMAIL PROTECTED] wrote:
In article
[EMAIL PROTECTED],
bukzor [EMAIL PROTECTED] wrote:
Does anyone have a pythonic way to check if a process is dead, given
the pid?
This is the function I'm using is quite OS dependent. A good candidate
might be try:
On May 21, 1:27 pm, bukzor [EMAIL PROTECTED] wrote:
On May 21, 12:13 pm, Roy Smith [EMAIL PROTECTED] wrote:
In article
[EMAIL PROTECTED],
bukzor [EMAIL PROTECTED] wrote:
Does anyone have a pythonic way to check if a process is dead, given
the pid?
This is the function I'm