vtl: fflush stdout/in after writing to external process

This commit is contained in:
Robin Gareus 2013-03-28 21:54:44 +01:00
parent 74c9bc6fcc
commit bbb4aa0141

View file

@ -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;
}