forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/9.0'
Change-Id: I5298a6529921568ec32c0fe0c009c273263b0f5d
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