You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libcutefish/applications/applicationlauncher.cpp

17 lines
639 B
C++

#include "applicationlauncher.h"
#include "applicationruntime.h"
bool ApplicationLauncher::startDetached(const QStringList &command,
const QString &workingDirectory,
const QString &appId)
{
// Every application start of the session goes through the runtime, which
// falls back to starting the process here when it is not running.
return ApplicationRuntime::instance()->launchCommand(command, workingDirectory, appId);
}
bool ApplicationLauncher::quit(const QString &appId)
{
return ApplicationRuntime::instance()->quitApplication(appId);
}