Xref: utzoo comp.os.os2.misc:709 comp.os.os2.apps:92 comp.os.os2.programmer:464 Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!spool.mu.edu!uunet!zaphod.mps.ohio-state.edu!magnus.ircc.ohio-state.edu!csn!uswat!zeb!ilene From: ilene@zeb.USWest.COM Newsgroups: comp.os.os2.misc,comp.os.os2.apps,comp.os.os2.programmer Subject: knowing when a child process has died Message-ID: <15458@uswat.UUCP> Date: 19 Feb 91 20:41:05 GMT Sender: news@uswat.UUCP Reply-To: ilene@zeb.USWest.COM () Organization: U S West Advanced Technologies Lines: 19 I need to know how to determine when a particular child process has died - at any given time in my program. I started my child processes with DosExecPgm with the EXEC_ASYNCRESULT constant. These processes are running as the parent process is running. AT given times in my program, I need to know if these child processes are still alive. I tried using DosCwait with the DCWW_NOWAIT constant and the particular child process id. This doesn't seem to give me any useful info. I looked in microsoft os2 programmers reference (pg 595) and it says that this willl retrieve the termination reference (pg. 595) and it says that this use of DosCwait retrieves the termination status from the most RECENT process to end. This brings me back to the drawing board. Anybody out there know how to find out about the status of a particular child process at any given time in the program. Thanks . Ilene