Sha256: 6ef18445712bc4d61bf400b965d6c0cde9cfe40b6d38acbaaf7ea29b9705d40f
Contents?: true
Size: 247 Bytes
Versions: 6
Compression:
Stored size: 247 Bytes
Contents
class ProconBypassMan::ProcessChecker # @param [integer] pid # @return [Boolean] def self.running?(pid) begin Process.kill(0, pid) true rescue Errno::ESRCH false rescue Errno::EPERM true end end end
Version data entries
6 entries across 6 versions & 1 rubygems