X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fbase%2Fconsole.cpp;h=add870666b2af45b0dc65c84d0fa4ec0eef1a63e;hp=5ca77d12a46cc293caf8c84347c2d0ea8bc9a109;hb=9e0b367cd7017f8abf3e3ea804966ce6e23a768f;hpb=da079b71c4d78f496dd7913a001068957746f750 diff --git a/lib/base/console.cpp b/lib/base/console.cpp index 5ca77d1..add8706 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 );