Methods

Class/Module Index [+]

Quicksearch

Rabbit::SystemRunner

Public Instance Methods

run(cmd, *args) click to toggle source
# File lib/rabbit/utils.rb, line 343
def run(cmd, *args)
  begin
    system(cmd, *args)
  rescue SystemCallError
    yield($!) if block_given?
    false
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.