Module: XCTestRunner::Shell
- Included in:
- XCTestRunner, BuildEnvironment
- Defined in:
- lib/xctest-runner/shell.rb
Instance Method Summary collapse
Instance Method Details
#execute_command(command, need_puts = false) ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/xctest-runner/shell.rb', line 6 def execute_command(command, need_puts = false) if need_puts puts "$ #{command}\n\n" if need_puts system command else `#{command}` end end |