spec

Software for Diffraction

2.3.14. - Exiting



A spec session is normally terminated by typing ^D at the start of an input line. The quit command will also terminate spec, but only when typed directly from the keyboard or when read from a command file. The quit command can't be included in a macro.

If there is a macro named end_mac defined, it will be run after the ^D or quit command.

When exiting, spec saves the user's state, and if any motors are moving, waits for them to halt and then updates the settings file.


If spec appears hung, typing the quit character (often ^\) should terminate the program. If spec is waiting for unresponsive hardware to indicate it is finished with a move or a count, typing the quit or interrupt character again may be necessary.