Method: Nautilus::Shell#sh
- Defined in:
- lib/nautilus/shell.rb
#sh(command) ⇒ Object
25 26 27 28 |
# File 'lib/nautilus/shell.rb', line 25 def sh(command) successful = system(command) raise "Error while running >>#{command}<<" unless successful end |