module KeepUp::Runner

Encapsulate knowledge of running external commands

Public Instance Methods

run(command) click to toggle source
# File lib/keep_up/runner.rb, line 10
def run(command)
  stdout, = run2 command
  stdout
end
run2(command) click to toggle source
# File lib/keep_up/runner.rb, line 15
def run2(command)
  Open3.capture2 command
end