On Mon, Nov 07, 2022 at 02:30:02PM -0500, Jan Schaumann wrote: > Hi, > > system(3) has some awkward phrasing for the case where > the execution of the shell fails: > > "If execution of the shell fails, system() returns the > termination status for a program that terminates with > a call of exit(127)."
I read that as trying to say that e.g. wait(2) would give a status where WIFEXITED(status) is true and WEXITSTATUS(status) returns 127. Martin