Our manual page currently states that system() will return 127 if it
fails to execute the shell. The actual return value is, to quote POSIX,
“as if the command language interpreter had terminated using exit(127)
or _exit(127)”.
Details
Details
- Reviewers
bnovkov kevans - Group Reviewers
Klara - Commits
- rG7305604b29d3: system(3): Clarify return values
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable