[OSX] AppArgs not working when compiling GUI App?

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

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.

I can't help you on OSX.. but just an FYI, BlitzMax always fills the first value of AppArgs with the program location.

Yes I know but I've entered ie three arguments, so length of AppArgs must me four but it isn't.