Skip to content

Glossary: Command Line and Git

exit code

Also written: sys.exit

A number a program gives the shell when it finishes: 0 means success and anything else, such as the 1 in `sys.exit(1)`, means it failed.

Where the book teaches it

Related terms

sys.argvshell