lib/reterm/util.rb
# Helper returning boolean indicating if specified process is alive
Helper returning boolean indicating if specified process is alive
Helper returning boolean indicating if specified process is alive
def process_alive?(pid)
    begin
      Process.getpgid( pid )
      true
    rescue Errno::ESRCH
      false
    end
  end
def process_alive? ( pid ) begin Process . getpgid ( pid ) true rescue Errno :: ESRCH false end end
Helper returning boolean indicating if specified process is alive
Helper returning boolean indicating if specified process is alive
pid
<not_specific>