Module: KeepUp::Runner
- Defined in:
- lib/keep_up/runner.rb
Overview
Encapsulate knowledge of running external commands
Class Method Summary collapse
Class Method Details
.run(command) ⇒ Object
10 11 12 13 |
# File 'lib/keep_up/runner.rb', line 10 def run(command) stdout, = run2 command stdout end |
.run2(command) ⇒ Object
15 16 17 |
# File 'lib/keep_up/runner.rb', line 15 def run2(command) Open3.capture2 command end |