Sha256: b4003ec19fa9ac7959bdb15296e620992648ddd7fc12022c7eb33eac72a64f6e

Contents?: true

Size: 242 Bytes

Versions: 2

Compression:

Stored size: 242 Bytes

Contents

module Lookout
  module Jruby

    class << self
      def process_exists?(pid)
        system("kill -0 #{pid} 2> /dev/null")
      rescue
        # i.e. windows
        false
      end
      private :process_exists?
      
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lookout-jruby-2.4.0 lib/lookout/jruby/cleanup_tempfiles_17.rb
lookout-jruby-2.3.0 lib/lookout/jruby/cleanup_tempfiles_17.rb