lib/rbbt/util/cmd.rb in rbbt-util-5.32.11 vs lib/rbbt/util/cmd.rb in rbbt-util-5.32.12
- old
+ new
@@ -200,11 +200,10 @@
Log.log "STDERR [#{pid}]: " + line, stderr if log
end
serr.close
end
else
- Misc.consume_stream(serr, true)
- err_thread = nil
+ err_thread = Misc.consume_stream(serr, true)
end
sout.threads = [in_thread, err_thread, wait_thr].compact
sout