From: "ara.t.howard" Date: 2007-10-04T00:10:49+09:00 Subject: determining if a process is alive on windows on *nix i use this # # returns true if pid is running, false otherwise # def alive pid #--{{{ pid = Integer("#{ pid }") begin Process::kill 0, pid true rescue Errno::ESRCH false end #--}}} end alias alive? alive export 'alive', 'alive?' i expect it won't work on windows but maybe i'm wrong? if so can someone suggest code to accomplish this task? cheers. a @ http://drawohara.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama