Statring a JuceApplication using startAsProcess()


#1

Hi

In OSX, when I’m trying to pass a parameter using startAsProcess(), in the JuceApplication::getCommandLineParameteres() I get weird stuff like
-psn_0_508028.

When I run the JuceApplication from the command line without any parameter, I also get this weird stuff from the getCommandLineParameteres().

In Windows it works fine.

I tried starting a dummy shell from startAsProcess(“hello”) that only prints it’s arguments, and it works fine.
I tried running the JuceApplication from the command line using a parameter, and it works fine
The parameter I tried to pass is “hello”.

Why can’t I get the passed argument?

Thanks!