If there is more than one way, please list them. I only know of one, but I\'m wondering if there is a cleaner, in-Ruby way.
This is how I've been doing it:
def alive?(pid) !!Process.kill(0, pid) rescue false end