Method: Specinfra::Command::Base::Process.check_is_running
- Defined in:
- lib/specinfra/command/base/process.rb
permalink .check_is_running(process) ⇒ Object
[View source]
11 12 13 |
# File 'lib/specinfra/command/base/process.rb', line 11 def check_is_running(process) "ps aux | grep -w -- #{escape(process)} | grep -qv grep" end |