Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 3/28/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

3.1.25.15. qexit (::quartus::misc)

The following table displays information for the qexit Tcl command:

Tcl Package and Version

Belongs to ::quartus::misc

Syntax qexit [-h | -help] [-long_help] [-error] [-success]
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-error Option to exit with an equivalent Quartus Prime error code
-success Option to exit with an equivalent Quartus Prime success code
Description
Exits the Quartus Prime software.

The Quartus Prime Tcl command "qexit" is equivalent to the Tcl command
"exit".

When used with a particular option, this command exits the Quartus Prime
software with the corresponding Quartus Prime exit code. For example,
typing "qexit -success" is equivalent to typing "exit 0". When the
"-success" option is specified, the corresponding Quartus Prime exit code
is "0".

If no option is specified, the default exit code is the same as for
the "-success" option.  
Example Usage
1) To exit the Quartus Prime software with an equivalent 
   Quartus Prime success code, type:

   qexit -success

2) To exit the Quartus Prime software with an equivalent 
   Quartus Prime error code, type:

   qexit -error
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful