This commit is contained in:
amartynov 2014-11-07 16:16:27 +03:00
parent 6aebe7b230
commit e0253c9aad

View File

@ -79,8 +79,8 @@ EOH
out << "\nExecuting '#{knife_cmd}' \n\n"
out.flush if out.respond_to?(:flush)
status = 2
lline = nil
IO.popen(knife_cmd + " 2>&1") do |o|
lline = nil
while line = o.gets do
out << line
lline = line