Commit 572b5447 authored by Christian Kandeler's avatar Christian Kandeler
Browse files

SynchronousProcess: Turn assertion into regular check

It is not an impossible condition that a process keeps hanging.

Change-Id: I87cfdb72ff8528c71b2add09e41bdf742cdfc8b6
Reviewed-by: Tobias Hunger's avatarTobias Hunger <>
parent 52faf327
......@@ -504,7 +504,9 @@ SynchronousProcessResponse SynchronousProcess::runBlocking(const QString &binary
QTC_ASSERT(d->m_process.state() == QProcess::NotRunning, return d->m_result);
if (d->m_process.state() != QProcess::NotRunning)
return d->m_result;
d->m_result.exitCode = d->m_process.exitCode();
if (d->m_result.result == SynchronousProcessResponse::StartFailed) {
if (d->m_process.exitStatus() != QProcess::NormalExit)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment