Skip to content

Preferred system exit codes as defined by sysexits.h

License

Notifications You must be signed in to change notification settings

rumpelsepp/exitcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

exitcode

Preferred system exit codes as defined by sysexits.h. This library is inspired by this rust library.

Example

All constants from the manpage sysexits(3) are available without the EX_ prefix.

import exitcode
import sys

sys.exit(exitcode.OK)