lib/cocaine/command_line/runners/popen_runner.rb in cocaine-0.5.3 vs lib/cocaine/command_line/runners/popen_runner.rb in cocaine-0.5.4
- old
+ new
@@ -9,12 +9,12 @@
def supported?
self.class.supported?
end
- def call(command, env = {})
+ def call(command, env = {}, options = {})
with_modified_environment(env) do
- IO.popen(command, "r") do |pipe|
+ IO.popen(command, "r", options) do |pipe|
pipe.read
end
end
end