Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove "do you want to close this window" message from terminal (osx)

I have an osx (10.11) computer set on a timer to restart at a certain time each day. There is a terminal shell that is running a script and this blocks the restart by prompting a "Do you want to close this window" message when it tries to close terminal?

Is there a way to remove this prompt, or have osx force quit all apps?

Thanks!

like image 532
john smith Avatar asked Jan 16 '26 23:01

john smith


1 Answers

That is a preference which you can alter for Terminal, e.g., to simply close the window. See screenshot:

preferences showing window-close

like image 61
Thomas Dickey Avatar answered Jan 19 '26 18:01

Thomas Dickey



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!