opendarwin man page for exit

Query: exit

OS: opendarwin

Section: n

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

exit(n) 						       Tcl Built-In Commands							   exit(n)

__________________________________________________________________________________________________________________________________________________

NAME
exit - End the application
SYNOPSIS
exit ?returnCode? _________________________________________________________________
DESCRIPTION
Terminate the process, returning returnCode to the system as the exit status. If returnCode isn't specified then it defaults to 0.
SEE ALSO
exec(n), tclvars(n)
KEYWORDS
exit, process Tcl exit(n)
Related Man Pages
tcl_createthreadexithandler(3) - mojave
tcl_deleteexithandler(3) - mojave
tcl_finalize(3) - mojave
tcl_finalizethread(3) - mojave
tcl_setexitproc(3) - mojave
Similar Topics in the Unix Linux Community
Exits from putty instead of shell script
Unable to find exit status of piped command
[BASH] Script to manage background scripts (running, finished, exit code)
Need output of script on screen and file with correct return status of the called script.
Script Works But Need It to Exit Upon Closing Program