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.91.0 lib/specinfra/command/darwin/base/process.rb
specinfra-2.90.1 lib/specinfra/command/darwin/base/process.rb
specinfra-2.90.0 lib/specinfra/command/darwin/base/process.rb
specinfra-2.89.0 lib/specinfra/command/darwin/base/process.rb
specinfra-2.88.2 lib/specinfra/command/darwin/base/process.rb
specinfra-2.88.1 lib/specinfra/command/darwin/base/process.rb
specinfra-2.88.0 lib/specinfra/command/darwin/base/process.rb
specinfra-2.87.2 lib/specinfra/command/darwin/base/process.rb
specinfra-2.87.1 lib/specinfra/command/darwin/base/process.rb
specinfra-2.87.0 lib/specinfra/command/darwin/base/process.rb
specinfra-2.86.0 lib/specinfra/command/darwin/base/process.rb
specinfra-2.85.1 lib/specinfra/command/darwin/base/process.rb
specinfra-2.85.0 lib/specinfra/command/darwin/base/process.rb
specinfra-2.84.1 lib/specinfra/command/darwin/base/process.rb
specinfra-2.84.0 lib/specinfra/command/darwin/base/process.rb
specinfra-2.83.4 lib/specinfra/command/darwin/base/process.rb
specinfra-2.83.3 lib/specinfra/command/darwin/base/process.rb
specinfra-2.83.2 lib/specinfra/command/darwin/base/process.rb
specinfra-2.83.1 lib/specinfra/command/darwin/base/process.rb
specinfra-2.83.0 lib/specinfra/command/darwin/base/process.rb