When I want to run new program(PROG) I should run fork() and run exec()
in child.
Parent before fork() can do a lot of checks for PROG (stat(), etc), but
exec() in child can be failed (no memory, etc).
In my propgram parent should know if call exec() in child was
successfull.
How can I do it ?
ps: please answer me also on my e-mail (a lot of messages in news groups
lost by my news server).