Home » Questions » Computers [ Ask a new question ]

How can I make the terminal window close automatically on OS X?

How can I make the terminal window close automatically on OS X?

Whenever I type 'exit' or I logout, the terminal window stays open and I have to close it manually. Can I change this behavior?

Asked by: Guest | Views: 93
Total answers/comments: 1
Guest [Entry]

"Go to Terminal -> Preferences, then on the right hand side select ""Shell"", then select ""Close if the shell exited cleanly"" from the dropdown labeled ""When the shell exits"".

This will close the shell if it exited without a problem (such as when you typed ""exit""), but if the process returns an error it will stick around so that you can see what it was."