title: Remove "do you want to close this window" message from terminal (osx)
body: <p>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?</p>
  
  <p>Is there a way to remove this prompt, or have osx force quit all apps?</p>
  
  <p>Thanks!</p>