aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Mueller <mueller@kde.org>2007-08-23 16:02:20 +0000
committerDirk Mueller <mueller@kde.org>2007-08-23 16:02:20 +0000
commit5812b38ee9598d88fb8dd9bfee907f19723c1d43 (patch)
treeb63cf6558970b61e31951042f23adff833064f84
parent44235cf3486a0124fc42da0d91f338d46709cfe2 (diff)
downloadextra-cmake-modules-5812b38ee9598d88fb8dd9bfee907f19723c1d43.tar.gz
extra-cmake-modules-5812b38ee9598d88fb8dd9bfee907f19723c1d43.tar.bz2
wait longer
svn path=/trunk/KDE/kdelibs/; revision=703915
-rw-r--r--automoc/kde4automoc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/automoc/kde4automoc.cpp b/automoc/kde4automoc.cpp
index b3d8053b..9983011e 100644
--- a/automoc/kde4automoc.cpp
+++ b/automoc/kde4automoc.cpp
@@ -260,14 +260,14 @@ void AutoMoc::waitForProcesses()
while (!processes.isEmpty()) {
Process proc = processes.dequeue();
- bool result = proc.qproc->waitForFinished();
+ bool result = proc.qproc->waitForFinished(-1);
//ignore errors from the cmake echo process
if (!proc.mocFilePath.isEmpty()) {
if (!result || proc.qproc->exitCode()) {
cerr << "kde4automoc: process for " << proc.mocFilePath
<< " failed: " << proc.qproc->errorString() << endl;
cerr << "pid to wait for: " << proc.qproc->pid() << endl;
- system("/bin/ps ux");
+ cerr << "processes in queue: " << processes.size() << endl;
failed = true;
QFile::remove(proc.mocFilePath);
}