Drain ui-out to avoid deadlock with small pipe buffers

This commit is contained in:
Maxime Coste 2020-06-10 09:26:32 +10:00
parent 2544f97c89
commit 74e3e5efd3

View File

@ -68,6 +68,7 @@ main() {
fi
finished_commands |$root/../src/kak -p "$session" 2>/dev/null
cat <&4 >/dev/null
wait $kakpid
retval=$?