[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Getting process status

Berger, Daniel

3/30/2005 2:43:00 PM

> -----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.

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

Regards,

Dan