in lib/between_meals/util.rb [60:72]
def execute(command, stream)
info("Running: #{command}")
c = Mixlib::ShellOut.new(command, :live_stream => stream)
c.run_command
c.stdout.lines.each do |line|
info("STDOUT: #{line.strip}")
end
c.stderr.lines.each do |line|
info("STDERR: #{line.strip.red}")
end
return c
end