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