I need to run
*.app from our NFS share where the different apps and versions are stored.
I can't get it to work as part of a bash script.
For exemple, for Sublime Text, here is the command I use to launch:
elif [ `uname` == "Darwin" ]; then exec open -a "/path/to/nfs/"Sublime\ Text.app" "$@" fi
When I call my script, I get the following error:
FSPathMakeRef(/path/to/nfs/Sublime Text.app) failed with error -43.
I know the path is right. Permissions are also fine.
I'm able to launch it with the full path
exec open -a "/path/to/nfs/"Sublime\ Text.app/Contents/MacOS/"Sublime\ Text"" "$@" but then all the content of the .app folder isn't available.
Is there another way to launch .app from command line?