Paste P629

Masterwork From Distant Lands
ActivePublic

Authored by davidedmundson on Aug 11 2020, 12:02 PM.
diff --git a/src/gui/systemd/systemdprocessrunner.cpp b/src/gui/systemd/systemdprocessrunner.cpp
index 01a5a370..ce3ee611 100644
--- a/src/gui/systemd/systemdprocessrunner.cpp
+++ b/src/gui/systemd/systemdprocessrunner.cpp
@@ -127,7 +127,9 @@ void SystemdProcessRunner::startProcess()
// so we can be notified (see https://github.com/systemd/systemd/pull/3984)
{ QStringLiteral("Environment"), m_process->environment() },
{ QStringLiteral("WorkingDirectory"), m_process->workingDirectory() },
- { QStringLiteral("ExecStart"), QVariant::fromValue(ExecCommandList { { m_process->program().first(), m_process->program(), false } }) } },
+ { QStringLiteral("ExecStart"), QVariant::fromValue(ExecCommandList { { m_process->program().first(), m_process->program(), false } }) },
+ { QStringLiteral("KillMode"), QStringLiteral("none")}
+ },
{} // aux is currently unused and should be passed as empty array.
);
connect(new QDBusPendingCallWatcher(startReply, this),
davidedmundson edited the content of this paste. (Show Details)Aug 11 2020, 12:02 PM
davidedmundson changed the title of this paste from untitled to Masterwork From Distant Lands.