forked from qt-creator/qt-creator
Utils: Use runBlocking()
Change-Id: I9df8b8fcdc08129691cac818c779a73f47b789c6 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user