I'm piggybacking on this post: How do I close an OS X application from the command line using a alias defined in my .bash_profile? I am trying this to close a unix executable. But it doesn't work. ...
I'm making a shortcut icon on my Dock which opens a terminal window with some preconfigured environment variables. I made a script and dragged it into my Dock. It runs well, however it exits ...
Why doesn't "exit" close a Terminal.app window on Mac OS X? $ exit logout [Process completed] Is there a way to close the window without using the mouse?