From: mmalmi@cc.hut.fi Date: Tue, 23 Feb 2010 15:19:51 +0200 To: Satoshi Nakamoto Subject: Re: Non-GUI option > mmalmi@cc.hut.fi wrote: >> Just a few clues I've found about running the same binary without a GUI: >> >> 1) GTK supports running a program without display: >> http://library.gnome.org/devel/gtk/2.12/gtk-General.html#gtk-init-check. >> This doesn't tell if it's possible in wxWidgets though. > > I see it calls gtk-init-check in wxApp::Initialize. > > I can subclass Initialize, call the original one while suppressing the > error message and ignore the return value. It seems to be working. > > Any suggestions what to name the command line switches and how to > describe them? Is there any traditional standard? I'm currently using: > -daemon (or -d) (Enables RPC and runs in the background) > -server (Enables RPC) That seems good, I don't know of any standards about it.