lib/builderator/patch/thor-actions.rb in builderator-1.0.0.pre.rc.5 vs lib/builderator/patch/thor-actions.rb in builderator-1.0.0.pre.rc.6
- old
+ new
@@ -28,10 +28,13 @@
IO.popen(command, 'r+') do |io|
io.write(input)
## Stream output
- output.write(io.readpartial(4096)) until io.eof?
+ loop do
+ output.write(io.readpartial(4096))
+ output.flush
+ end until io.eof?
end
end
##
# Make `template` load from a sane path and render in the context of Config