Sha256: 08bfdbc5bec5e3dd56d3b8a8e087c4c962e415fc81e053ac394b263fb332a80e
Contents?: true
Size: 409 Bytes
Versions: 1
Compression:
Stored size: 409 Bytes
Contents
module BigKeeper # Operator for got class VerifyOperator def self.already_in_process? already_in_process = false Open3.popen3('ps -ef|grep big -c') do |stdin , stdout , stderr, wait_thr| while line = stdout.gets if line.rstrip.to_i > 3 already_in_process = true break end end end already_in_process end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bigkeeper-0.8.1 | lib/big_keeper/util/verify_operator.rb |