Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!apple!portal!cup.portal.com!DeadHead From: DeadHead@cup.portal.com (Bruce M Ong) Newsgroups: comp.unix.wizards Subject: How can a parent find out if one of its children is still alive Message-ID: <30408@cup.portal.com> Date: 1 Jun 90 07:30:45 GMT Distribution: na Organization: The Portal System (TM) Lines: 20 I am sure there is a very easy way to do this, but I just havent figured this one out: How can a parent find out if one of its children is still alive or not without 1) going through fifos, 2) going through messages 3) going through shared memory 4) going through sockets I thought the parent could use the getpgrp() call to find out the child's group id and in turn find out if the child is still alive or not. But that didnt seem to work. I dont want the parent to wait for the child to die, either... Please e-mail, thanks! deadhead@cup.portal.com