diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2008-11-05 13:05:08 +0100 |
|---|---|---|
| committer | Andreas Oberritter <obi@saftware.de> | 2008-11-06 01:52:05 +0100 |
| commit | 317d39715811fcfab181641398b43582cdb4e22d (patch) | |
| tree | 37973c19b1291e98187de7846861ef419daf926e /lib/base | |
| parent | 938a550b0874cd87f475a638551d7046f729d1bc (diff) | |
| download | enigma2-317d39715811fcfab181641398b43582cdb4e22d.tar.gz enigma2-317d39715811fcfab181641398b43582cdb4e22d.zip | |
also make in FD nonblocking
Diffstat (limited to 'lib/base')
| -rw-r--r-- | lib/base/console.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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 ); |
