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, using Runtime.args
. I've added the possibility to disable this using "versions": ["VibeDisableCommandLineParsing"]
now in 77acca8.