I stumbled across this while trying to calculate some configuration options and open multiple terminal windows at once to run multiple Node services. There are two ways to programmatically open a new terminal window or tab on a mac, depending on whether or not you use iTerm or the default…