run shell script without opening terminal code example
Example 1: launch bash script from application mac without opening terminal
chmod ugo+x myapp
Example 2: launch bash script from application mac without opening terminal
mkdir -p ./myapp.app/Contents/MacOS