Sysexits – preferable exit codes for programs

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • clap-rs

    A full featured, fast Command Line Argument Parser for Rust

  • CPython

    The Python programming language

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • typos

    Source code spell checker

  • When I was designing the programmatic API for my programmer's spell checker [0], I found that it was easy to get an exit code from something else in the stack and if they all used 1, there wasn't a way to differentiate. This is the reason I went with sysexists, so I would have a more nuanced codes to reduce the probability of two processes in the stack returning confusable errors.

    [0] https://github.com/crate-ci/typos

  • fastcov

    A massively parallelized gcov wrapper

  • I do something very similar, though I read I should avoid codes 1 and 2 so my error codes start at 3: https://github.com/RPGillespie6/fastcov/blob/master/fastcov....

    That way automated CI pipelines (or whatever) can switch on the return code if needed rather than try to parse stderr

  • unix-history-repo

    Continuous Unix commit history from 1970 until today

  • It exists on any UNIX, basically. It was added 40 years ago: https://github.com/dspinellis/unix-history-repo/commit/8e0a2...

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts