class Sv::Base

Public Instance Methods

process_running?() click to toggle source
# File lib/sv/base.rb, line 6
def process_running?
  return false if pid <= 0
  Process.getpgid pid
  return true
rescue Errno::ESRCH
  return false
end