bash open new terminal and run command mac code example
Example 1: run sh from terminal mac
chmod +x fileName
bash fileName
Example 2: launch bash script from application mac without opening terminal
chmod ugo+x myapp
chmod +x fileName
bash fileName
chmod ugo+x myapp