forked from qt-creator/qt-creator
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:
@@ -240,7 +240,7 @@ static QVector<VisualStudioInstallation> detectVisualStudioFromVsWhere(const QSt
|
|||||||
vsWhereProcess.setTimeoutS(timeoutS);
|
vsWhereProcess.setTimeoutS(timeoutS);
|
||||||
const QStringList arguments { "-products", "*", "-prerelease", "-legacy", "-format", "json",
|
const QStringList arguments { "-products", "*", "-prerelease", "-legacy", "-format", "json",
|
||||||
"-utf8"};
|
"-utf8"};
|
||||||
Utils::SynchronousProcessResponse response = vsWhereProcess.run(vswhere, arguments);
|
Utils::SynchronousProcessResponse response = vsWhereProcess.runBlocking(vswhere, arguments);
|
||||||
switch (response.result) {
|
switch (response.result) {
|
||||||
case Utils::SynchronousProcessResponse::Finished:
|
case Utils::SynchronousProcessResponse::Finished:
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user