I need to start an app from another app with just one command on macOS. So, I can't use cd
to get to the right path.
I just need to run the app with the full path like: /my/path/to/app/myapp -parameter1 1 -parameter2
Is this even possible on macOS? (I would like to avoid to install the app.)
So cd
and then execute is not possible because of:
https://stackoverflow.com/questions/4884681/how-to-use-cd-command-using-java-runtime