ProjectExplorer: run vswhere blocking

Executing vswhere non blocking results in a bunch of ugly error messages
when running qt creator with the -test parameter.

Change-Id: I5b721dce474c34421b5d68fbac127c991f493578
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
This commit is contained in:
David Schulz
2018-12-17 09:28:52 +01:00
parent 63d88450ec
commit 56e6e9af57

View File

@@ -240,7 +240,7 @@ static QVector<VisualStudioInstallation> detectVisualStudioFromVsWhere(const QSt
vsWhereProcess.setTimeoutS(timeoutS);
const QStringList arguments { "-products", "*", "-prerelease", "-legacy", "-format", "json",
"-utf8"};
Utils::SynchronousProcessResponse response = vsWhereProcess.run(vswhere, arguments);
Utils::SynchronousProcessResponse response = vsWhereProcess.runBlocking(vswhere, arguments);
switch (response.result) {
case Utils::SynchronousProcessResponse::Finished:
break;