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.

For example

Parent
       |
       ---- fork()
                 |
                 ---- Child
                            |
                            ----exec*("someprog", "arg1", "arg2"...)
                                       |
                                       ---- "someprog" returns 1 but a successful
exec*() doesn't return...
                                               is there a way to determine what
happened with "someprog"

Thanks in advance,

Anthony

Reply via email to