From d5dc6f7f70378105a20c754a96e84da4c6291e33 Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Thu, 23 Jun 2016 15:22:11 +0200 Subject: [PATCH] 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 --- src/libs/utils/shellcommand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/utils/shellcommand.cpp b/src/libs/utils/shellcommand.cpp index 7ec77b49a4c..335142c0ef6 100644 --- a/src/libs/utils/shellcommand.cpp +++ b/src/libs/utils/shellcommand.cpp @@ -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) {