Wiki

Clone wiki

gretl / SpecSysExits

Formal specification for system exits

We support symbolic exit codes as described by sysexits(3) on FreeBSD systems.

Key concepts

Exit code When a process terminates it sends an exits code to its parent. The exit code 0 indicates a success, another exit code indicates an error. The precise value of the exit code can give a rough idea of the reason of the failure, without looking at the code of the program.

User stories

#27 Support for symbolic exit codes

As a developer, I want to take advantage of symbolic exit codes and have the opportunity to give useful information to the process operating my programs.

We want to support symbolic exit codes, as described by sysexits(3) on FreeBSD systems.

Updated