Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!ukc!edcastle!aiai!richard From: richard@aiai.ed.ac.uk (Richard Tobin) Newsgroups: comp.unix.questions Subject: Re: How can a child detect the death of its parent Message-ID: <4944@skye.ed.ac.uk> Date: 12 Jun 91 19:55:33 GMT References: <298@wimpy.nms.gdc.portal.com> <1991Jun10.150007.8188@bmers145.bnr.ca> Reply-To: richard@aiai.UUCP (Richard Tobin) Organization: AIAI, University of Edinburgh, Scotland Lines: 13 In article <1991Jun10.150007.8188@bmers145.bnr.ca> jasonc@bmerh653.bnr.ca (Jason Chen) writes: > Your child will get an EOF from its next read(2) from the >pipe, after the parent die. If you want to get a signal, you could have a third process reading from a pipe connected to the parent. When the parent exits, the third process gets EOF, and can send a signal to the child. -- Richard -- Richard Tobin, JANET: R.Tobin@uk.ac.ed AI Applications Institute, ARPA: R.Tobin%uk.ac.ed@nsfnet-relay.ac.uk Edinburgh University. UUCP: ...!ukc!ed.ac.uk!R.Tobin