summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-11-14 18:18:40 +0000
committerMike Buland <eichlan@xagasoft.com>2011-11-14 18:18:40 +0000
commit32f844424906fc59d4bb77b99a83fa0572e2c139 (patch)
tree73d6df5d54a19bdd0439cedcd493b80870e0a216
parent9ea4601ed9ebfcfc5e21a86e743c8886e5ebc4c3 (diff)
downloadlibbu++-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.
-rw-r--r--src/process.cpp2
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 )
388bool Bu::Process::isRunning() 388bool 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