When I open a .command file using iTerm, it will run the script and then close the window. This is similar behavior to other terminal emulators I've used. However, it differs from the behavior of Terminal.app, which leaves the window open when a script is done executing. Is there any setting or way to make iTerm operate the same way? Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I open a .command file using iTerm, it will run the script and then close the window. This is similar behavior to other terminal emulators I've used. However, it differs from the behavior of Terminal.app, which leaves the window open when a script is done executing. Is there any setting or way to make iTerm operate the same way? Thanks.