dock/src/processprovider.cpp

17 lines
327 B
C++
Raw Normal View History

2021-03-15 20:17:11 -07:00
#include "processprovider.h"
#include <QProcess>
ProcessProvider::ProcessProvider(QObject *parent)
: QObject(parent)
{
}
bool ProcessProvider::startDetached(const QString &exec, QStringList args)
{
QProcess process;
process.setProgram(exec);
process.setArguments(args);
return process.startDetached();
}