exitcode

noun
UK /ˈɛksɪt kəʊd/
US /ˈɛksɪt koʊd/

A number a computer program gives back when it finishes, to say if it worked or not.

The script returned an exitcode of 0, which means everything ran without errors.


OTHER MEANINGS

2. A numeric value a command-line tool passes to the operating system to signal success or failure.

A non-zero exitcode told the build server that the tests had failed.

3. In scripting, a variable holding the last command's completion status.

She checked the exitcode before running the next step of the pipeline.

4. A signal used by automation to decide whether to retry or stop a job.

The deployment was rolled back because the exitcode indicated a crash.