I have a cpp file that calls execvp() with the 1st parameter "/Library/Application Support/myapp/myapp.app"
It does not work, I also tried adding "\" before the space.
How can I make this work?
Thanks
That is a directory (app bundle), not an executable. You'll have to either start the actual executable (usually in the Contents/MacOS
directory of the bundle) or exec open
with the path to the app.