Getting process status

It works on all platforms, including Windows (with Ruby 1.8.x).

Regards,

Dan

···

-----Original Message-----
From: leon breedt [mailto:bitserf@gmail.com]
Sent: Tuesday, March 29, 2005 11:13 PM
To: ruby-talk ML
Subject: Re: Getting process status

On Wed, 30 Mar 2005 14:15:12 +0900, Joe Van Dyk > <joevandyk@gmail.com> wrote:
> That's not quite what I asked for. I have the pid of a specific
> process and I need to find out its status (whether or not
it's running
> or not).
On Linux at least, you can send signal 0 to determine whether
a process is running or not.