lib/cocaine/command_line/runners/popen_runner.rb in cocaine-0.5.7 vs lib/cocaine/command_line/runners/popen_runner.rb in cocaine-0.5.8
- old
+ new
@@ -12,10 +12,10 @@
end
def call(command, env = {}, options = {})
with_modified_environment(env) do
IO.popen(command, "r", options) do |pipe|
- pipe.read
+ Output.new(pipe.read)
end
end
end
private