X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/55acebf9599ad782cc305c13d18a14af66e65c20..9fd2c54ef3bf35619766b304b3945695eb9271a6:/lib/base/console.cpp diff --git a/lib/base/console.cpp b/lib/base/console.cpp index 5ca77d12..add87066 100644 --- a/lib/base/console.cpp +++ b/lib/base/console.cpp @@ -109,6 +109,7 @@ int eConsoleAppContainer::execute(const char *cmdline, const char * const argv[] // eDebug("pipe in = %d, out = %d, err = %d", fd[0], fd[1], fd[2]); + ::fcntl(fd[0], F_SETFL, O_NONBLOCK); ::fcntl(fd[1], F_SETFL, O_NONBLOCK); ::fcntl(fd[2], F_SETFL, O_NONBLOCK); in = eSocketNotifier::create(eApp, fd[0], eSocketNotifier::Read|eSocketNotifier::Priority|eSocketNotifier::Hungup );