mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-01 07:55:53 +00:00
update to new process api
This commit is contained in:
@ -346,7 +346,7 @@ void ExtScript::startProcess()
|
||||
cmdList.append(prefix());
|
||||
cmdList.append(executable());
|
||||
qCInfo(LOG_LIB) << "Run cmd" << cmdList.join(' ');
|
||||
m_process->start(cmdList.join(' '));
|
||||
m_process->start("sh", QStringList() << "-c" << cmdList);
|
||||
}
|
||||
|
||||
|
||||
|
@ -205,9 +205,8 @@ void ExtUpgrade::writeConfiguration() const
|
||||
|
||||
void ExtUpgrade::startProcess()
|
||||
{
|
||||
QString cmd = QString("sh -c \"%1\"").arg(executable());
|
||||
qCInfo(LOG_LIB) << "Run cmd" << cmd;
|
||||
m_process->start(cmd);
|
||||
qCInfo(LOG_LIB) << "Run cmd" << executable();
|
||||
m_process->start("sh", QStringList() << "-c" << executable());
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user