command-runner 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -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
|