module XCTestRunner::Shell

Public Instance Methods

execute_command(command, need_puts = false) click to toggle source
# File lib/xctest-runner/shell.rb, line 5
def execute_command(command, need_puts = false)
  if need_puts
    puts "$ #{command}\n\n" if need_puts
    system command
  else
    `#{command}`
  end
end