diff --git a/src/libs/utils/deviceshell.cpp b/src/libs/utils/deviceshell.cpp index f349e6db568..283e9789c00 100644 --- a/src/libs/utils/deviceshell.cpp +++ b/src/libs/utils/deviceshell.cpp @@ -87,9 +87,7 @@ RunResult DeviceShell::run(const CommandLine &cmd, const QByteArray &stdInData) qCDebug(deviceShellLog) << "Running fallback:" << fallbackCmd; proc.setCommand(fallbackCmd); proc.setWriteData(stdInData); - - proc.start(); - proc.waitForFinished(); + proc.runBlocking(); return RunResult{ proc.exitCode(),