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:
Marcus Tillmanns
2023-02-02 10:01:54 +01:00
parent a759e400cc
commit db80574b25

View File

@@ -87,9 +87,7 @@ RunResult DeviceShell::run(const CommandLine &cmd, const QByteArray &stdInData)
qCDebug(deviceShellLog) << "Running fallback:" << fallbackCmd; qCDebug(deviceShellLog) << "Running fallback:" << fallbackCmd;
proc.setCommand(fallbackCmd); proc.setCommand(fallbackCmd);
proc.setWriteData(stdInData); proc.setWriteData(stdInData);
proc.runBlocking();
proc.start();
proc.waitForFinished();
return RunResult{ return RunResult{
proc.exitCode(), proc.exitCode(),