# File lib/background_process/background_process.rb, line 63 def running? return false unless @pid Process.getpgid(@pid) true rescue Errno::ESRCH false end