Hi JUCE team,
just a heads up:
If you call an app with arguments, the arguments are properly handed over in the
argc / argv parameters. Using
JUCEApplicationBase::getCommandLineParameterArray() works just find.
However JUCEApplicationBase::initialise (const String& commandLine) has all strings joined, hence putting that in a StringArray::parseFromTokens() leads to trouble.
The best what one can do is
ignoreUnused (commandLine) and work with the static
JUCEApplicationBase::getCommandLineParameterArray(), rendering the initialise parameter misleading and obsolete.
I don’t know what is best, maybe to change the API, which will lead to little applause from many, or letting people search for solutions how to get arguments with whitespaces correctly processed…