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

@@ -14,6 +14,7 @@
#include "blackmisc/registermetadata.h"
#include "blackmisc/network/networkutils.h"
#include "blackmisc/dbusutils.h"
#include "blackmisc/processctrl.h"
#include "servicetool.h"
#include <stdio.h>
#include <QCoreApplication>
@@ -181,7 +182,7 @@ int main(int argc, char *argv[])
}
// testing in new process
QProcess::startDetached(executable, args);
BlackMisc::CProcessCtrl::startDetached(executable, args, true);
// testing in same process
// BlackSample::ServiceTool::dataTransferTestClient(address);