Method: Sys#run
- Defined in:
- lib/carat-dev/misc/sys.rb
#run(cmd) ⇒ Object
Run the system command cmd.
51 52 53 54 |
# File 'lib/carat-dev/misc/sys.rb', line 51 def run(cmd) log cmd system(cmd) or fail "Command Failed: [#{cmd}]" end |