0
votes
0answers
49 views

How to end unix app using terminal script

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. ...
1
vote
1answer
1k views

How can I execute a shell script without exit? (Mac OS X)

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 ...
17
votes
4answers
14k views

How do I close the Terminal in OSX from the command line?

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?