MCPcopy Create free account
hub / github.com/KDAB/GammaRay / startLauncher

Function startLauncher

launcher/cli/main.cpp:137–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137static bool startLauncher()
138{
139 const QString launcherPath = LauncherFinder::findLauncher(LauncherFinder::LauncherUI);
140 QProcess proc;
141 proc.setProcessChannelMode(QProcess::ForwardedChannels);
142 proc.start(launcherPath, QStringList {});
143 if (!proc.waitForFinished(-1))
144 return false;
145 return proc.exitCode() == 0;
146}
147
148static QUrl urlFromUserInput(const QString &s)
149{

Callers 1

mainFunction · 0.85

Calls 3

waitForFinishedMethod · 0.80
startMethod · 0.45
exitCodeMethod · 0.45

Tested by

no test coverage detected