- -daemon is ignored on windows
- bitcoind only forks with -daemon set
Fix daemon mode #131
pull tcatm wants to merge 2 commits into bitcoin:master from tcatm:fix-daemon-mode changing 1 files +16 −8-
tcatm commented at 10:29 PM on March 22, 2011: none
-
disable -daemon on windows; bitcoind forks only with -daemon set c2f76c3df8
-
TheBlueMatt commented at 9:23 AM on March 31, 2011: member
Works for me, though isn't the standard to check for WXMSW instead of WIN32 even on bitcoind in most of the code?
-
gavinandresen commented at 12:04 AM on April 6, 2011: contributor
BlueMatt is right-- #ifndef WXMSW would be more consistent with the rest of the code.
-
WIN32 -> __WXMSW__ 10923358f0
-
jgarzik commented at 4:01 AM on April 9, 2011: contributor
Pulled, after testing on multiple machines.
Also, I modded the commit slightly, to call setsid() inside ui.cpp, which is a second Daemonize site.
- jgarzik closed this on Apr 9, 2011
- CoinGame referenced this in commit b2c2b0b0b2 on Jul 6, 2014
- sipa referenced this in commit a064934ec0 on Dec 4, 2014
- sipa referenced this in commit 87bddb7a3a on Dec 4, 2014
- sipa referenced this in commit eb6347679b on Dec 5, 2014
- dexX7 referenced this in commit b0f8afd47a on Jul 14, 2015
- keo referenced this in commit 2e39bf1dc4 on Mar 6, 2016
- rebroad referenced this in commit cb2d12a4cf on Dec 7, 2016
- deadalnix referenced this in commit d220062ac2 on Jan 19, 2017
- jtimon referenced this in commit b56e4d0dfa on Apr 20, 2017
- destenson referenced this in commit fd1d3c891d on Nov 18, 2017
- attilaaf referenced this in commit f8434dfe3c on Jan 13, 2020
- rajarshimaitra referenced this in commit e0f8533658 on Mar 23, 2021
- rajarshimaitra referenced this in commit c9a5e04c46 on Aug 5, 2021
- DrahtBot locked this on Sep 8, 2021
Contributors
Linked (view graph)
#25323 miniscript fuzzer failing after qa-assets update#30792 ci: failure in win64 unit tests `err:virtual:virtual_alloc_first_teb wine: failed to map the shared user data: c0000018\n0444:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.\n0444:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."`)#30969 win64-cross CI timeout: `wine: chdir to /tmp/wine-JFrcnM/server-30-e86edd : No such file or directory`; `01e0:err:module:relocate_ntdll ntdll could not be mapped at preferred address (0x320000), expect trouble`