john smith john smith - 17 days ago 6
Bash Question

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!

Answer

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

preferences showing window-close

Comments