Sha256: 93c9adf18bee3644302ec1512ef7c35223bf32350e0933a182b6b0292c32517a
Contents?: true
Size: 374 Bytes
Versions: 25
Compression:
Stored size: 374 Bytes
Contents
module Fission class Fusion def self.running? command = "ps -ef | grep -v grep | grep -c " command << "#{Fission.config.attributes['gui_bin'].gsub(' ', '\ ')} 2>&1" output = `#{command}` response = Fission::Response.new :code => 0 output.strip.to_i > 0 ? response.data = true : response.data = false response end end end
Version data entries
25 entries across 25 versions & 1 rubygems