Sha256: e99a0a56026623a94fdc002ea854f625116de26a6fffb8bed5599a36000cb8d3
Contents?: true
Size: 504 Bytes
Versions: 1
Compression:
Stored size: 504 Bytes
Contents
module Lookout module Jruby class << self # stolen from process_exists gem https://github.com/wilsonsilva/process_exists/blob/master/lib/process_exists/core_ext/process.rb def process_exists?(pid) Process.kill(0, pid.to_i) true rescue Errno::ESRCH # No such process false rescue Errno::EPERM # The process exists, but you dont have permission to send the signal to it. true end private :process_exists? end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lookout-jruby-2.3.0 | lib/lookout/jruby/cleanup_tempfiles_9k.rb |