mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2026-10-14 02:32:15 +00:00
update to new process api
This commit is contained in:
1 parent
8eaf444a25
commit
e81d765098
9 files changed
+22
-17
No files matched your search
@@ -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