# File lib_core/rucy/rc_d.rb, line 28 def proc_alive?(pid) begin Process.kill(0, pid) return true rescue Errno::EPERM return true rescue SystemCallError return false end raise 'internal error' end