Skip to main content

Preferred system exit codes as defined by sysexits.h

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

exitcode-0.1.0.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

exitcode-0.1.0-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page