From bbb4aa0141d80b6d120d7ab16573fd92007f5f80 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 28 Mar 2013 21:54:44 +0100 Subject: [PATCH] vtl: fflush stdout/in after writing to external process --- gtk2_ardour/system_exec.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk2_ardour/system_exec.cc b/gtk2_ardour/system_exec.cc index a01351c92e..889b1565ad 100644 --- a/gtk2_ardour/system_exec.cc +++ b/gtk2_ardour/system_exec.cc @@ -658,6 +658,7 @@ SystemExec::write_to_stdin(std::string d, size_t len) } c += r; } + fsync(pin[1]); ::pthread_mutex_unlock(&write_lock); return c; }