Page 1 of 1

Command-line argument parsing

Posted: July 5th, 2012, 6:30 am
by Hellenion
starting a GUI through the command line causes the non-fatal error:

Code: Select all

$ mono ConfigGUI.exe 
Unknown argument: /[...]/fcraft/ConfigGUI.exe

$ mono ServerGUI.exe 
Unknown argument: /[...]/fcraft/ServerGUI.exe
CLI .exes do not seem to be affected.

I don't know about windows, but in linux, argv[0] is always the command that started the program.
There's no real problem with this, though. Everything still works.

Re: Command-line argument parsing

Posted: July 5th, 2012, 6:41 am
by fragmer
Strange. Probably a Mono-specific quirk, as usual. Investigating.