On Wed, 19 Mar 2014 12:42:52 GMT, Sönke Ludwig wrote:
On Sun, 16 Mar 2014 22:30:33 GMT, Etienne Cimon wrote:
On Sun, 16 Mar 2014 16:13:12 GMT, Øivind Loe wrote:
Is there a way to prevent vibe from reading options from command line? It is messing with the command line options I pass to the surrounding program..
You can compile using
"versions": ["VibeCustomMain"]
in your dub.json to enable your ownmain()
and process command line options yourself from there, just don't forget to callrunEventLoop();
. I'd also try the"versions": ["VibeManualMemoryManagement"]
option in dub.json because it improved general stability. Hope it helps!Command line parsing happens even with
VibeCustomMain
defined, usingRuntime.args
. I've added the possibility to disable this using"versions": ["VibeDisableCommandLineParsing"]
now in 77acca8.
Thank you. That is what I was looking for :)