diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2011-11-14 18:18:40 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2011-11-14 18:18:40 +0000 |
| commit | 32f844424906fc59d4bb77b99a83fa0572e2c139 (patch) | |
| tree | 73d6df5d54a19bdd0439cedcd493b80870e0a216 /src | |
| parent | 9ea4601ed9ebfcfc5e21a86e743c8886e5ebc4c3 (diff) | |
| download | libbu++-32f844424906fc59d4bb77b99a83fa0572e2c139.tar.gz libbu++-32f844424906fc59d4bb77b99a83fa0572e2c139.tar.bz2 libbu++-32f844424906fc59d4bb77b99a83fa0572e2c139.tar.xz libbu++-32f844424906fc59d4bb77b99a83fa0572e2c139.zip | |
A fix in Bu::Process. It was killing the pipes before their time.
Diffstat (limited to '')
| -rw-r--r-- | src/process.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process.cpp b/src/process.cpp index 55824ae..a98936e 100644 --- a/src/process.cpp +++ b/src/process.cpp | |||
| @@ -388,7 +388,7 @@ void Bu::Process::select( bool &bStdOut, bool &bStdErr ) | |||
| 388 | bool Bu::Process::isRunning() | 388 | bool Bu::Process::isRunning() |
| 389 | { | 389 | { |
| 390 | if( waitpid( iPid, NULL, WNOHANG ) == iPid ) | 390 | if( waitpid( iPid, NULL, WNOHANG ) == iPid ) |
| 391 | close(); | 391 | checkClose(); |
| 392 | return iPid != 0; | 392 | return iPid != 0; |
| 393 | } | 393 | } |
| 394 | 394 | ||
