Anthony Simon wrote:
> 
> I'm hoping that there is a 'clean' way for a process to pick-up
> the return code from a program exec'ed by one of it's children.

If a child process execs another binary then the process says the same.
The exit code is returned as usual to the parent on exit, and can be
picked up by the parent by using one of the wait functions
(wait/waitpid/wait3/wait4).

---
Henrik Nordström

Reply via email to