Sha256: e3c6fd531b2ad202ef36faa9378b881e537bea136c93dcaa05d7367892a24306

Contents?: true

Size: 259 Bytes

Versions: 183

Compression:

Stored size: 259 Bytes

Contents

class Specinfra::Command::Darwin::Base::Process < Specinfra::Command::Base::Process
  class << self
    def get(process, opts)
      "ps -A -c -o #{opts[:format]},command | grep -E -m 1 ^\\ *[0-9]+\\ +#{escape(process)}$ | awk '{print $1}'"
    end
  end
end

Version data entries

183 entries across 183 versions & 2 rubygems

Version Path
specinfra-2.82.5 lib/specinfra/command/darwin/base/process.rb
specinfra-2.82.4 lib/specinfra/command/darwin/base/process.rb
specinfra-2.82.3 lib/specinfra/command/darwin/base/process.rb
specinfra-2.82.2 lib/specinfra/command/darwin/base/process.rb
specinfra-2.82.1 lib/specinfra/command/darwin/base/process.rb
specinfra-2.82.0 lib/specinfra/command/darwin/base/process.rb
specinfra-2.81.0 lib/specinfra/command/darwin/base/process.rb
specinfra-2.80.0 lib/specinfra/command/darwin/base/process.rb
specinfra-2.79.0 lib/specinfra/command/darwin/base/process.rb
specinfra-2.78.2 lib/specinfra/command/darwin/base/process.rb
specinfra-2.78.1 lib/specinfra/command/darwin/base/process.rb
specinfra-2.78.0 lib/specinfra/command/darwin/base/process.rb
specinfra-2.77.3 lib/specinfra/command/darwin/base/process.rb
specinfra-2.77.2 lib/specinfra/command/darwin/base/process.rb
specinfra-2.77.1 lib/specinfra/command/darwin/base/process.rb
specinfra-2.77.0 lib/specinfra/command/darwin/base/process.rb
specinfra-2.76.9 lib/specinfra/command/darwin/base/process.rb
specinfra-2.76.8 lib/specinfra/command/darwin/base/process.rb
specinfra-2.76.7 lib/specinfra/command/darwin/base/process.rb
specinfra-2.76.6 lib/specinfra/command/darwin/base/process.rb