Firing up a process and not wait()ing on it..

barmar at Think.COM barmar at Think.COM
Thu Dec 21 13:32:18 AEST 1989


In article <2308 at bacchus.dec.com> klee at decwrl.dec.com writes:
>In article <1989Dec19.191032.21857 at lavaca.uh.edu>, jet at lavaca.uh.edu (J.
>Eric Townsend) writes:
>> While in process foo, I want to crank up process bar
>> and have it run independently of foo. 
>The standard way of doing this is to fork (or vfork) and execl (or
>execv).

Don't you still have to wait() for it to prevent the child process from
becoming a zombie when it exits?

I think some versions of Unix check whether the parent has set up a handler
for the SIGCHILD signal when deciding whether to zombify the child.
Barry Margolin, Thinking Machines Corp.

barmar at think.com
{uunet,harvard}!think!barmar



More information about the Comp.unix.ultrix mailing list