Sha256: d917348da7c2ac160467bf766a6a378be465faddb0490778207fde560f9db318

Contents?: true

Size: 254 Bytes

Versions: 151

Compression:

Stored size: 254 Bytes

Contents

class Specinfra::Command::Windows::Base::Process < Specinfra::Command::Windows::Base
  class << self
    def check_process(process)
      Backend::PowerShell::Command.new do
        exec "(Get-Process '#{process}') -ne $null"
      end
    end
  end
end

Version data entries

151 entries across 151 versions & 1 rubygems

Version Path
specinfra-2.34.5 lib/specinfra/command/windows/base/process.rb
specinfra-2.34.4 lib/specinfra/command/windows/base/process.rb
specinfra-2.34.3 lib/specinfra/command/windows/base/process.rb
specinfra-2.34.2 lib/specinfra/command/windows/base/process.rb
specinfra-2.34.1 lib/specinfra/command/windows/base/process.rb
specinfra-2.34.0 lib/specinfra/command/windows/base/process.rb
specinfra-2.33.1 lib/specinfra/command/windows/base/process.rb
specinfra-2.33.0 lib/specinfra/command/windows/base/process.rb
specinfra-2.32.0 lib/specinfra/command/windows/base/process.rb
specinfra-2.31.1 lib/specinfra/command/windows/base/process.rb
specinfra-2.31.0 lib/specinfra/command/windows/base/process.rb
specinfra-2.30.4 lib/specinfra/command/windows/base/process.rb
specinfra-2.30.3 lib/specinfra/command/windows/base/process.rb
specinfra-2.30.2 lib/specinfra/command/windows/base/process.rb
specinfra-2.30.1 lib/specinfra/command/windows/base/process.rb
specinfra-2.30.0 lib/specinfra/command/windows/base/process.rb
specinfra-2.29.0 lib/specinfra/command/windows/base/process.rb
specinfra-2.28.4 lib/specinfra/command/windows/base/process.rb
specinfra-2.28.3 lib/specinfra/command/windows/base/process.rb
specinfra-2.28.2 lib/specinfra/command/windows/base/process.rb