Rather than waste three hundred and fifty hours of precious time, each captain turned his ship over to his EXEC and remained aboard the Nemesis; even on so spacious a craft the officers' country north of the engine rooms was crowded like a tourist hotel in mid-season.
"Space Viking"
Henry Beam Piper
In practical terms, this means that you often end the script with a call to EXEC.
"Debian GNU/Linux: Guide to Installation and Usage"
John Goerzen and Ossama Othman
Whatever program you EXEC will replace the script process with itself, so commands found after the EXEC line will be ignored.
"Debian GNU/Linux: Guide to Installation and Usage"
John Goerzen and Ossama Othman