>It is hard to reliably detect exec failure after fork.
>Parent can only see they child exited with some exitcode or signal,
>how it can know that child exited because exec in the child failed?

True enough, but is it not convention to use an
exit code of 127 to indicate exec failure?

...
execl();
_exit(127);
...

-- Jim




_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to