Module: Rabbit::SystemRunner
- Included in:
- ImageManipulable::Dia, ImageManipulable::EPS, ImageManipulable::GIMP
- Defined in:
- lib/rabbit/utils.rb
Class Method Summary collapse
Class Method Details
.run(cmd, *args) ⇒ Object
360 361 362 363 364 365 366 367 |
# File 'lib/rabbit/utils.rb', line 360 def run(cmd, *args) begin system(cmd, *args) rescue SystemCallError yield($!) if block_given? false end end |