General Command Line Topics¶
Exit Codes¶
When a command is executed from the command line, then an exit code is return. The exit code, also called exit status or exit status code, is a positive integer that tells you whether the command executed with or without errors.
Exit codes greater than zero mean are specific to the Operating System, Shell, and/or command.
To access the exit code, execute the command, then do the following depending:
> echo $LASTEXITCODE
$ echo $?
> echo %ERRORLEVEL%
For Click specific behavior on exit codes, see Exception Handling and Exit Codes.
