forked from qt-creator/qt-creator
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:
@@ -377,7 +377,7 @@ Utils::SynchronousProcessResponse ShellCommand::runCommand(const Utils::FileName
|
||||
process.setTimeOutMessageBoxEnabled(true);
|
||||
|
||||
// Run!
|
||||
response = process.run(binary.toString(), arguments);
|
||||
response = process.runBlocking(binary.toString(), arguments);
|
||||
}
|
||||
|
||||
if (!d->m_aborted) {
|
||||
|
Reference in New Issue
Block a user