comparison frontends/src/jp/constants.py @ 2073:3d633458d962

jp (core): added EXIT_NOT_FOUND constant, which return 16 as exit code
author Goffi <goffi@goffi.org>
date Tue, 13 Sep 2016 22:03:45 +0200
parents ac89f455fcbf
children e0066920a661
comparison
equal deleted inserted replaced
2072:11fb5f5e2f89 2073:3d633458d962
32 32
33 # exit codes 33 # exit codes
34 EXIT_OK = 0 34 EXIT_OK = 0
35 EXIT_ERROR = 1 # generic error, when nothing else match 35 EXIT_ERROR = 1 # generic error, when nothing else match
36 EXIT_BAD_ARG = 2 # arguments given by user are bad 36 EXIT_BAD_ARG = 2 # arguments given by user are bad
37 EXIT_NOT_FOUND = 16 # an item required by a command was not found
37 EXIT_FILE_NOT_EXE = 126 # a file to be executed was found, but it was not an executable utility (cf. man 1 exit) 38 EXIT_FILE_NOT_EXE = 126 # a file to be executed was found, but it was not an executable utility (cf. man 1 exit)
38 EXIT_CMD_NOT_FOUND = 127 # a utility to be executed was not found (cf. man 1 exit) 39 EXIT_CMD_NOT_FOUND = 127 # a utility to be executed was not found (cf. man 1 exit)
39 EXIT_SIGNAL_INT = 128 # a command was interrupted by a signal (cf. man 1 exit) 40 EXIT_SIGNAL_INT = 128 # a command was interrupted by a signal (cf. man 1 exit)