Method: Eye::Process::System#execute_sync
- Defined in:
- lib/eye/process/system.rb
#execute_sync(cmd, opts = { timeout: 1.second }) ⇒ Object
101 102 103 104 105 |
# File 'lib/eye/process/system.rb', line 101 def execute_sync(cmd, opts = { timeout: 1.second }) execute(cmd, self.config.merge(opts)).tap do |res| info "execute_sync `#{cmd}` with res: #{res}" end end |