lib/frontkick.rb in frontkick-0.5.0 vs lib/frontkick.rb in frontkick-0.5.1
- old
+ new
@@ -3,9 +3,13 @@
require 'frontkick/error'
require 'frontkick/command'
require 'frontkick/result'
module Frontkick
- def self.exec(cmd, opts = {})
- ::Frontkick::Command.exec(cmd, opts)
+ def self.exec(cmd, opts = {}, &block)
+ ::Frontkick::Command.exec(cmd, opts, &block)
+ end
+
+ def self.process_wait(pid)
+ ::Frontkick::Command.process_wait(pid)
end
end