command-runner 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -27,7 +27,7 @@ module Command
|
|
27
27
|
# @param options [Hash] the options to run the command under.
|
28
28
|
# @return [Message, Object] message if no block is given, the
|
29
29
|
# result of the block call otherwise.
|
30
|
-
def call(command, arguments, env = {}, options = {})
|
30
|
+
def call(command, arguments, env = {}, options = {}, &block)
|
31
31
|
super
|
32
32
|
output = ""
|
33
33
|
start_time = nil
|