utility: Fixed process execution aborted due to messing !

This commit is contained in:
Eberhard Graether
2019-08-06 19:53:12 +02:00
parent 8a43a95b5c
commit b50ab76af5
+1 -1
View File
@@ -213,7 +213,7 @@ int utility::executeProcessAndGetExitCode(
std::wstring errorBuffer;
if (timeout == -1)
{
while (!finished && process.waitForFinished(1000))
while (!finished && !process.waitForFinished(1000))
{
if (logProcessOutput)
{