From ce10016408118eaba0df0d46d156e677aa8fece2 Mon Sep 17 00:00:00 2001 From: Jaquee Date: Sat, 25 Feb 2017 10:12:32 +0100 Subject: [PATCH] omit --detach flag on windows --- src/daemon/DaemonManager.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/daemon/DaemonManager.cpp b/src/daemon/DaemonManager.cpp index e1e89f61..606448d9 100644 --- a/src/daemon/DaemonManager.cpp +++ b/src/daemon/DaemonManager.cpp @@ -27,7 +27,12 @@ bool DaemonManager::start(const QString &flags, bool testnet) { // prepare command line arguments and pass to monerod QStringList arguments; + + // Start daemon with --detach flag on non-windows platforms +#ifndef Q_OS_WIN arguments << "--detach"; +#endif + if(testnet) arguments << "--testnet"; @@ -44,7 +49,7 @@ bool DaemonManager::start(const QString &flags, bool testnet) arguments << str; } - arguments << "--updates" << "disabled"; + arguments << "--check-updates" << "disabled"; qDebug() << "starting monerod " + m_monerod; qDebug() << "With command line arguments " << arguments;