Method: Onceover::Runner#run_command
- Defined in:
- lib/onceover/runner.rb
#run_command(*args) ⇒ Object
130 131 132 133 134 135 136 137 |
# File 'lib/onceover/runner.rb', line 130 def run_command(*args) begin STDERR.raw! if STDERR.isatty result = Backticks::Runner.new(interactive: true).run(args.flatten).join ensure STDERR.cooked! if STDERR.isatty end end |