diff --git a/src/daemon/DaemonManager.cpp b/src/daemon/DaemonManager.cpp index 0820b462..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";