update to new process api

This commit is contained in:
2020-11-01 14:33:17 +03:00
parent 8eaf444a25
commit e81d765098
9 changed files with 22 additions and 17 deletions

View File

@ -78,13 +78,13 @@ bool AWActions::isDebugEnabled()
}
bool AWActions::runCmd(const QString &_cmd)
bool AWActions::runCmd(const QString &_cmd, const QStringList &_args)
{
qCDebug(LOG_AW) << "Cmd" << _cmd;
qCDebug(LOG_AW) << "Cmd" << _cmd << "args" << _args;
sendNotification(QString("Info"), i18n("Run %1", _cmd));
return QProcess::startDetached(_cmd);
return QProcess::startDetached(_cmd, _args);
}