Exit code
The number a program hands back when it finishes: zero for success, anything else for failure.
When a command-line program finishes, it hands back a small number called its exit code, or exit status. Zero means it succeeded and anything else means some kind of failure, so scripts in a Shell (command line) and automated checks can tell whether a step worked without reading its output. A check that “exits with an error” is using this number to say that something it tested failed.
See also
- Shell (command line)
- AI
- API
- Endpoint (route)
- Environment variable
- Git
- GraphQL
- Infrastructure as code
Sources
- Shell Command Language: Exit Status for Commands (POSIX.1-2024)The Open Group / IEEEofficial healthy, checked 2026-11-15
- Exit statusWikipedia healthy, checked 2026-11-15 archived copy