Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 're: how do I close the terminal window automatically?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
re: how do I close the terminal window automatically?
Authored by: thatch on Oct 29, '02 02:16:57PM

From Terminal in the menu bar: Window Settings...: Shell, select 'Close the window' or 'Close only if the shell exited cleanly', then select 'Use Settings as Default'.



[ Reply to This | # ]
re: how do I close the terminal window automatically?
Authored by: dr_turgeon on Oct 29, '02 03:02:40PM

For some reason this doesn't work for me either...



[ Reply to This | # ]
re: how do I close the terminal window automatically?
Authored by: elroybob on Nov 01, '02 05:08:00PM

Thanks, but I'd already done that and the window still stays open. Is there a way to make the terminal widow close with a command inside the script?

Thanks



[ Reply to This | # ]
re: how do I close the terminal window automatically?
Authored by: kerbaugh on Nov 19, '02 01:15:22PM

Try the following, at least if the server prints the whole thing:

osascript<<END
tell application "Terminal"
close the front window
end tell
END



[ Reply to This | # ]