From 74e3e5efd3a8d2109afd4c099ecd6f2cd3079188 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 10 Jun 2020 09:26:32 +1000 Subject: [PATCH] Drain ui-out to avoid deadlock with small pipe buffers --- test/run | 1 + 1 file changed, 1 insertion(+) diff --git a/test/run b/test/run index 209376a7..3fa67c2a 100755 --- a/test/run +++ b/test/run @@ -68,6 +68,7 @@ main() { fi finished_commands |$root/../src/kak -p "$session" 2>/dev/null + cat <&4 >/dev/null wait $kakpid retval=$?