From 5812b38ee9598d88fb8dd9bfee907f19723c1d43 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 23 Aug 2007 16:02:20 +0000 Subject: wait longer svn path=/trunk/KDE/kdelibs/; revision=703915 --- automoc/kde4automoc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'automoc/kde4automoc.cpp') 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); } -- cgit v1.2.1