diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2016-06-23 15:22:11 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2016-06-24 08:14:32 +0000 |
commit | d5dc6f7f70378105a20c754a96e84da4c6291e33 (patch) | |
tree | df4981a0381c4543e0a5e21ec6a3b22b5ff92d78 /src/libs/utils/shellcommand.cpp | |
parent | 2536c2bfc719b9d08f18220f4393b542d9199fe7 (diff) |
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>
Diffstat (limited to 'src/libs/utils/shellcommand.cpp')
-rw-r--r-- | src/libs/utils/shellcommand.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |