[OSX] AppArgs not working when compiling GUI App?

BlitzMax Forums/BlitzMax Programming/[OSX] AppArgs not working when compiling GUI App?

Ratchet(Posted 2008) [#1]
If I compile with "GUI App" option on MacOSX the length of AppArgs is always 1. My Arguments given to to app are ignored. If I deactivate the option (commandline app) it workes. There is no difference if I start with arguments from MaxIDE or if I run it from terminal.


plash(Posted 2008) [#2]
I can't help you on OSX.. but just an FYI, BlitzMax always fills the first value of AppArgs with the program location.


Ratchet(Posted 2008) [#3]
Yes I know but I've entered ie three arguments, so length of AppArgs must me four but it isn't.