mirror of
https://github.com/overte-org/overte.git
synced 2025-07-23 00:34:22 +02:00
print out state before wait
This commit is contained in:
parent
15fdcb4fe0
commit
fe2775ca94
2 changed files with 5 additions and 0 deletions
|
@ -71,6 +71,8 @@ void AssignmentClientMonitor::waitOnChildren(int msecs) {
|
|||
while (i.hasNext()) {
|
||||
QProcess* childProcess = i.next();
|
||||
|
||||
qDebug() << "The current state of process" << childProcess->processId() << "is" << childProcess->state();
|
||||
|
||||
if (childProcess->state() == QProcess::NotRunning) {
|
||||
i.remove();
|
||||
} else if (msecs > 0) {
|
||||
|
|
|
@ -15,6 +15,9 @@
|
|||
|
||||
int main(int argc, char* argv[]) {
|
||||
AssignmentClientApp app(argc, argv);
|
||||
|
||||
int acReturn = app.exec();
|
||||
qDebug() << "assignment-client process" << app.applicationPid() << "exiting with status code" << acReturn;
|
||||
|
||||
return acReturn;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue