Avoiding [process completed] prompt after terminal script ends on Mac OS X
Problem
In my text editor, I have bound a shortcut key to deploy my code by invoking a command like That deploy script uploads my code to my server etc. I am using "open" so that I can see the output in a new terminal window in case there are any errors. Very convenient, but in the end it leaves the terminal window open with text "[Process completed]". Any way to skip this and instead just automatically close the window?
Error Output
/usr/bin/open /Users/blahblah/run_deploy
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: Avoiding [process completed] prompt after terminal script ends on Mac OS X
In Terminal Preferences, in Profiles pane select the Profile you use (should say "default" under it's name), select sub-pane Shell and change «When the shell exits:» to «Close if the shell exited cleanly». It will not hide the message, but will close the window if exit code was successful.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix