Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!spool.mu.edu!samsung!uunet!microsoft!davidst From: davidst@microsoft.UUCP (David STECKLER) Newsgroups: comp.os.os2.programmer Subject: Re: knowing when a child process has died Message-ID: <70848@microsoft.UUCP> Date: 23 Feb 91 17:57:34 GMT References: <15458@uswat.UUCP> <1991Feb20.173755.14036@ibmpa.awdpa.ibm.com> Reply-To: davidst@microsoft.UUCP (David STECKLER) Organization: Microsoft Corp., Redmond WA Lines: 19 In article <1991Feb20.173755.14036@ibmpa.awdpa.ibm.com> mikem@ibmpa.awdpa.ibm.com (Michael MacFaden) writes: >In article <15458@uswat.UUCP> ilene@zeb.USWest.COM () writes: >> >> I need to know how to determine when a particular child process has >> died - at any given time in my program. >> >> Ilene > >Have the program create a System Semaphore. If the parent wants to [...stuff deleted...] The DosCWait api's sole purpose in life is to determine whether a child process has terminated and optionally wait until it is dead before returning. ...Dave