forked from qt-creator/qt-creator
Utils: Rename QtcProcess -> Process
Task-number: QTCREATORBUG-29102 Change-Id: Ibc264f9db6a32206e4097766ee3f7d0b35225a5c Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -52,7 +52,7 @@ Utils::Port IosSimulator::nextPort() const
|
||||
// use qrand instead?
|
||||
if (++m_lastPort >= Constants::IOS_SIMULATOR_PORT_END)
|
||||
m_lastPort = Constants::IOS_SIMULATOR_PORT_START;
|
||||
Utils::QtcProcess portVerifier;
|
||||
Utils::Process portVerifier;
|
||||
// this is a bit too broad (it does not check just listening sockets, but also connections
|
||||
// to that port from this computer)
|
||||
portVerifier.setCommand({"lsof", {"-n", "-P", "-i", QString(":%1").arg(m_lastPort)}});
|
||||
|
||||
Reference in New Issue
Block a user