Utils: Use runBlocking in shellcommand

This is run in a background thread, so there is no need to keep the UI
alive.

Change-Id: I81267b918ef2350a180b0a8ee55244feca2406b4
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This commit is contained in:
Tobias Hunger
2016-06-23 15:22:11 +02:00
parent 2536c2bfc7
commit d5dc6f7f70

View File

@@ -377,7 +377,7 @@ Utils::SynchronousProcessResponse ShellCommand::runCommand(const Utils::FileName
process.setTimeOutMessageBoxEnabled(true); process.setTimeOutMessageBoxEnabled(true);
// Run! // Run!
response = process.run(binary.toString(), arguments); response = process.runBlocking(binary.toString(), arguments);
} }
if (!d->m_aborted) { if (!d->m_aborted) {