From: "Berger, Daniel" Date: 2005-03-30T23:42:36+09:00 Subject: Re: Getting process status > -----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 > 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