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