# File lib/open4.rb, line 418 def alive pid pid = Integer pid begin Process.kill 0, pid true rescue Errno::ESRCH false end end