Linux splash window shouldn't block waiting for pipe activity

This commit is contained in:
rdb 2015-08-10 04:00:41 +02:00
parent caf986fa2a
commit d74f028198

View File

@ -681,11 +681,11 @@ subprocess_run() {
}
}
do {
while (input_ready) {
// Empty the pipe of whatever is in it.
receive_command();
input_ready = _pipe_read.has_gdata();
} while (input_ready);
}
// Sleep a good amount in order not to lock up the system.
struct timespec req;