I need to automate the following actions in a bash script which runs on OSX.execute meteor command in a certain directory in a new terminal tab.execute MONGO_URL=mongodb://127.0.0.1:3001/meteor meteor --port=4000 in a different directory in a new terminal tab.Both terminals need to be running since each of the meteor apps will print out to the console of it's own terminal.  here is my best effort so fare which opens a new terminal tab:  #!/usr/bin/env bashosascript -e 'tell application System Events' -e 'keystroke t using command down' -e 'end tell'How can I create the scripts so that item 1 finishes then item 2 begins?
Mac - bash script to run 2 services on different terminals in different directories
bash;osx