On Fri, 17 Oct 2014 10:56:39 -0500, Paul Gilmartin <paulgboul...@aim.com> wrote:
>fork() should return a descriptor that the parent can use to kill() the child. >I don't know that meets the "quietly" requirement. The child could trap >the signal and terminate in an orderly manner. (Does execmvs() return >a PID?) In his design the parent is never killing the child, and can't do so, as it doesn't know the child exists. The parent is trying to terminate, and the system is then killing the parent because it hasn't killed the child. Getting a new address space involved solves that problem because nothing prevents the parent process from terminating while the child process is still active. And eventually the child can decide to go away on its own. -- Walt ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN