Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!nuchat!sugar!karl
From: karl@sugar.hackercorp.com (Karl Lehenbauer)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Parent/child processes
Message-ID: <4261@sugar.hackercorp.com>
Date: 3 Oct 89 03:46:42 GMT
References: <186@egrunix.UUCP>
Reply-To: karl@sugar.hackercorp.com (Karl Lehenbauer)
Organization: Sugar Land Unix - Houston
Lines: 12

In article <186@egrunix.UUCP> cogswell@unix.secs.oakland.edu.UUCP (Dan Cogswell) writes:
>Does anybody have a neat way of blocking a parent process from terminating
>until all it's child processes have also terminated??  I certainly can't find 
>anything in the Exec that will help me here.

Sure, dude.  Use Peter da Silva's workbench launch code to launch your task's
children as workbench tasks, then wait on the completion messages they send
when they exit.
-- 
-- uunet!sugar!karl	"There is hopeful symbolism in the fact that 
-- 			 flags do not wave in a vacuum."  -- Arthur C. Clarke
-- Usenet access: (713) 438-5018