[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What does code 123 mean?... (Shell command failed with code 123 and
Re: What does code 123 mean?... (Shell command failed with code 123 and no output)
Sat, 7 Jun 2008 12:10:19 +0200
Am 07.06.2008 um 11:04 schrieb Johan Bockgård:
xargs exits with the following status:
0 if it succeeds
123 if any invocation of the command exited with status 1-125
124 if the command exited with status 255
125 if the command is killed by a signal
126 if the command cannot be run
127 if the command is not found
1 if some other error occurred.
Exit codes greater than 128 are used by the shell to
program died due to a fatal signal.
You have a complicated xargs! Look, mine from FreeBSD, only offers:
The xargs utility exits with a value of 0 if no error occurs.
cannot be found, xargs exits with a value of 127, otherwise if
cannot be executed, xargs exits with a value of 126. If any
occurs, xargs exits with a value of 1.
Engineer: a mechanism for converting caffeine into designs