exit; which will take you out of SPECX completely, or
$
Shell command line?
This is your cue to enter any shell command that you would like, such as, say,
emacs &
to start up emacs in a separate window which will remain until you specifically close it.
>> $ emacs &
A command file is very simple to understand because it's just a list of SPECX commands. The only pitfalls are knowing what order to submit the commands to SPECX and knowing in advance what questions SPECX is going to ask. This implies a little experience is useful before trying to write your own command procedures. Which is why this information is not placed earlier in this Cookbook.
Specx Cookbook