Use CProcessCtrl::startDetached in dbus server and sample

refs #866
This commit is contained in:
Roland Winklmeier
2017-04-02 20:45:03 +02:00
committed by Mathew Sutcliffe
parent b80f204293
commit 5c37ccdbeb
2 changed files with 3 additions and 2 deletions

View File

@@ -107,7 +107,7 @@ namespace BlackMisc
{
const QString program = QStringLiteral("dbus-daemon");
const QStringList arguments = { QStringLiteral("--config-file=../etc/dbus-1/session.conf") };
bool success = CProcessCtrl::startDetachedWithoutConsole(program, arguments);
bool success = CProcessCtrl::startDetached(program, arguments, false);
if (!success) { CLogMessage(this).error("Failed to launch dbus-daemon!"); }
}