MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / runApp

Method runApp

src/plugins/linglong/gui/mainframe.cpp:354–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

352}
353
354void MainFrame::runApp(const QString &appId)
355{
356 d->process.reset(new QProcess(this));
357 d->process->setProgram("ll-cli");
358 QStringList args;
359 args.append("run");
360 args.append(appId);
361 d->process->setArguments(args);
362
363 d->process->start();
364 d->process->waitForFinished();
365}
366
367void MainFrame::installApp(const QString &appId)
368{

Callers

nothing calls this directly

Calls 5

resetMethod · 0.45
setProgramMethod · 0.45
appendMethod · 0.45
setArgumentsMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected