Command-line argument parsing
Posted: July 5th, 2012, 6:30 am
starting a GUI through the command line causes the non-fatal error:
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.
Code: Select all
$ mono ConfigGUI.exe
Unknown argument: /[...]/fcraft/ConfigGUI.exe
$ mono ServerGUI.exe
Unknown argument: /[...]/fcraft/ServerGUI.exe
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.