omit --detach flag on windows

pull/2/head
Jaquee 7 years ago
parent 2ca2376d45
commit ce10016408
No known key found for this signature in database
GPG Key ID: 384E52B09F45DC39

@ -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;