fixed
This commit is contained in:
parent
6aebe7b230
commit
e0253c9aad
@ -79,8 +79,8 @@ EOH
|
|||||||
out << "\nExecuting '#{knife_cmd}' \n\n"
|
out << "\nExecuting '#{knife_cmd}' \n\n"
|
||||||
out.flush if out.respond_to?(:flush)
|
out.flush if out.respond_to?(:flush)
|
||||||
status = 2
|
status = 2
|
||||||
|
lline = nil
|
||||||
IO.popen(knife_cmd + " 2>&1") do |o|
|
IO.popen(knife_cmd + " 2>&1") do |o|
|
||||||
lline = nil
|
|
||||||
while line = o.gets do
|
while line = o.gets do
|
||||||
out << line
|
out << line
|
||||||
lline = line
|
lline = line
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user