I try to call an application from the console and pass it an argument. This is the script I am using:
#!/bin/sh
open -a "/Applications/MyApp.app/" $1
Somehow the OS is unhappy with this and complains:
FSPathMakeRef(/Applications/MyApp.app) failed with error -43.
What can I do?
Mac OS error -43 (fnfErr): File not found