パスワードを忘れた? アカウント作成
10714056 journal
日記

bhindの日記: linuxでのprocess exit code

日記 by bhind

10年以上つかってるのにしらんかった...orz
まあ128以上は+signalってのを覚えておけばいいか...
てか、自由に使えるのは3-125ってことなのかな...
http://stackoverflow.com/questions/1101957/are-there-any-standard-exit-status-codes-in-linux
http://tldp.org/LDP/abs/html/exitcodes.html

1: Catchall for general errors

2: Misuse of shell builtins (according to Bash documentation)

126: Command invoked cannot execute

127: "command not found"

128: Invalid argument to exit

128+n: Fatal error signal "n"

255: Exit status out of range (exit takes only integer args in the range 0 - 255)

この議論は賞味期限が切れたので、アーカイブ化されています。 新たにコメントを付けることはできません。
typodupeerror

コンピュータは旧約聖書の神に似ている、規則は多く、慈悲は無い -- Joseph Campbell

読み込み中...