From kde-commits Mon Nov 10 02:56:03 2008 From: Daniel Winter Date: Mon, 10 Nov 2008 02:56:03 +0000 To: kde-commits Subject: kdesupport/strigi/src/streams Message-Id: <1226285763.549126.1002.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=122628577324495 SVN commit 882215 by danielw: Wait for terminated child to avoid defunct processes hanging arround CCMAIL: jos@vandenoever.info M +2 -0 processinputstream.cpp --- trunk/kdesupport/strigi/src/streams/processinputstream.cpp #882214:882215 @@ -64,6 +64,8 @@ } if (pid != -1) { kill(SIGTERM, pid); + int status; + waitpid(pid, &status , 0); } const char* const* p = args; while (*p) {