mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 08:17:59 +00:00
omit --detach flag on windows
This commit is contained in:
parent
2ca2376d45
commit
ce10016408
1 changed files with 6 additions and 1 deletions
|
@ -27,7 +27,12 @@ bool DaemonManager::start(const QString &flags, bool testnet)
|
||||||
{
|
{
|
||||||
// prepare command line arguments and pass to monerod
|
// prepare command line arguments and pass to monerod
|
||||||
QStringList arguments;
|
QStringList arguments;
|
||||||
|
|
||||||
|
// Start daemon with --detach flag on non-windows platforms
|
||||||
|
#ifndef Q_OS_WIN
|
||||||
arguments << "--detach";
|
arguments << "--detach";
|
||||||
|
#endif
|
||||||
|
|
||||||
if(testnet)
|
if(testnet)
|
||||||
arguments << "--testnet";
|
arguments << "--testnet";
|
||||||
|
|
||||||
|
@ -44,7 +49,7 @@ bool DaemonManager::start(const QString &flags, bool testnet)
|
||||||
arguments << str;
|
arguments << str;
|
||||||
}
|
}
|
||||||
|
|
||||||
arguments << "--updates" << "disabled";
|
arguments << "--check-updates" << "disabled";
|
||||||
|
|
||||||
qDebug() << "starting monerod " + m_monerod;
|
qDebug() << "starting monerod " + m_monerod;
|
||||||
qDebug() << "With command line arguments " << arguments;
|
qDebug() << "With command line arguments " << arguments;
|
||||||
|
|
Loading…
Reference in a new issue