Skip to content

Variable EXIT_CODE

const EXIT_CODE: { success: 0; generalError: 1; misuseOfBuiltins: 2; commandNotExecutable: 126; commandNotFound: 127; invalidExitArgument: 128; terminatedByCtrlC: 130; }

Source: shell.const.ts

Type Declaration

success

readonly success: 0 = 0

generalError

readonly generalError: 1 = 1

misuseOfBuiltins

readonly misuseOfBuiltins: 2 = 2

commandNotExecutable

readonly commandNotExecutable: 126 = 126

commandNotFound

readonly commandNotFound: 127 = 127

invalidExitArgument

readonly invalidExitArgument: 128 = 128

terminatedByCtrlC

readonly terminatedByCtrlC: 130 = 130

Built by Prozilla