From within our main app we start our secondary app (single instance) using myapp.startAsProcess(); It works well.
Now with the Apple silicon we need to have our secondary app (universal binary) open as the same arch as the main app…
From terminal we know we can use this to force open as Rosetta:
arch -x86_64 /Applications/secondary.app/Contents/MacOS/secondary
How can we do the equivalent from code within Juce?
(I know there is system(“…”) but prefer not to use this clunky method. (and Im not sure if system will block multiple instances from opening should it be called twice?)…