Merge pull request #491

ce10016 omit --detach flag on windows (Jaquee)
This commit is contained in:
Riccardo Spagni 2017-02-27 22:29:11 +02:00
commit 0f69ca4bff
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

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