![]() |
![]()
| ![]() |
![]()
NAMEexit - End the application SYNOPSISexit ?returnCode? DESCRIPTIONTerminate the process, returning returnCode to the system as the exit status. If returnCode is not specified then it defaults to 0. EXAMPLESince non-zero exit codes are usually interpreted as error cases by the calling process, the exit command is an important part of signaling that something fatal has gone wrong. This code fragment is useful in scripts to act as a general problem trap: proc main {} { SEE ALSOexec(n) KEYWORDSabort, exit, process
|