XRun on MacOS: How to launch an App

Normally all you would need to do is to copy the app path to the XRUN command. But sometimes this fails on Mac.

Solution: A good method to starts apps on Mac is to use XRUN to launch a shell script, and inside the shell script you launch the app. This gives you full control over how to launch the app.

In this video we use XRUN with Shell Script to launch the Mac “Music” app:

PS: When you create the shell script file, do not forget to make it “executable” with the “chmod 755” command.