Qexit, Usage, Options – Altera Quartus II Scripting User Manual
Page 312: Description, Example, Qexit –182

3–182
Chapter 3: Tcl Packages & Commands
misc
Quartus II Scripting Reference Manual
© July 2013
Altera Corporation
qexit
Usage
qexit [-error] [-success]
Options
-error: Option to exit with an equivalent Quartus II error code
-success: Option to exit with an equivalent Quartus II success code
Description
Exits the Quartus
®
II software.
The Quartus II Tcl command "qexit" is equivalent to the Tcl command "exit".
When used with a particular option, this command exits the Quartus II software with the corresponding
Quartus II exit code. For example, typing "qexit -success" is equivalent to typing "exit 0". When the
"-success" option is specified, the corresponding Quartus II exit code is "0".
If no option is specified, the default exit code is the same as for the "-success" option.
Example
1) To exit the Quartus II software with an equivalent Quartus II success code, type:
qexit -success
2) To exit the Quartus II software with an equivalent Quartus II error code, type:
qexit -error