forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/9.0' into qds/dev
Change-Id: I4305c3b37814cc3a926e8e56cabe5f8935f8f2c0
This commit is contained in:
@@ -490,8 +490,10 @@ bool SshProcessInterface::runInShell(const CommandLine &command, const QByteArra
|
||||
process.setCommand(cmd);
|
||||
process.setWriteData(data);
|
||||
process.start();
|
||||
QTC_CHECK(process.waitForFinished()); // otherwise we may start producing killers for killers
|
||||
return process.exitCode() == 0;
|
||||
bool isFinished = process.waitForFinished(2000); // TODO: it may freeze on some devices
|
||||
// otherwise we may start producing killers for killers
|
||||
QTC_CHECK(isFinished);
|
||||
return isFinished;
|
||||
}
|
||||
|
||||
void SshProcessInterface::start()
|
||||
|
||||
Reference in New Issue
Block a user