Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mac: gnome-terminal equivalent for shell script

I am trying to run a shell script in a MAC terminal. I want to open a new terminal window that will execute the script separate from the program that is running. In Fedora, there is a gnome-terminal command which lets me execute a script in another terminal shell.

Does anyone know an equivalent on MAX OSX and how to use it?

For example say I have a script crazy.sh and I want to call this from a program that is executing but in a separate terminal from the one which is currently executing the program.

like image 479
Edwin Avatar asked Dec 30 '25 01:12

Edwin


1 Answers

I like DigitalTrauma's answer but I found for my use, this worked better

open -a Terminal.app crazy.sh

Thanks for the answers.

like image 169
Edwin Avatar answered Jan 01 '26 15:01

Edwin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!