When I have running processes on my terminal and I try to shutdown Mac, I get this window:
I want all running processes to terminate automatically when I shut down my Mac without being prompted the window shown above. Is there a way to do that?
I am using macOS Sierra 10.12.6.
Edit: My question is not about iTerm2 or closing tabs.