diff options
| author | Jaquee <jaquee.monero@gmail.com> | 2017-02-25 10:12:32 +0100 |
|---|---|---|
| committer | Jaquee <jaquee.monero@gmail.com> | 2017-02-25 10:12:32 +0100 |
| commit | ce10016408118eaba0df0d46d156e677aa8fece2 (patch) | |
| tree | b15a4741f479f882158f39ec74ad0866fccbd9e5 /src/daemon | |
| parent | 2ca2376d45224f02bba54059b219abf4de679b36 (diff) | |
| download | monzero-gui-ce10016408118eaba0df0d46d156e677aa8fece2.tar.gz monzero-gui-ce10016408118eaba0df0d46d156e677aa8fece2.tar.xz monzero-gui-ce10016408118eaba0df0d46d156e677aa8fece2.zip | |
omit --detach flag on windows
Diffstat (limited to 'src/daemon')
| -rw-r--r-- | src/daemon/DaemonManager.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
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; |
