Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.caldera.com!enews.sgi.com!su-news-feed4.bbnplanet.com!su-news-hub1.bbnplanet.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!newsfeed.internetmci.com!jump.net!grunt.dejanews.com!not-for-mail Date: Mon, 02 Jun 1997 20:11:53 -0600 From: cheng@consilium.com Subject: How to Clean up an Orphan Process in HP-UX? Newsgroups: comp.unix.programmer,comp.unix.sco.misc,comp.unix.bsd.freebsd.misc Message-ID: <865300017.24837@dejanews.com> Reply-To: cheng@consilium.com Organization: Deja News Usenet Posting Service To: chi@consilium.com, cheng@consilium.com X-Article-Creation-Date: Tue Jun 03 01:07:01 1997 GMT X-Originating-IP-Addr: 204.162.60.66 (consilium-bh.consilium.com) X-Http-User-Agent: Mozilla/3.01Gold (WinNT; I) X-Authenticated-Sender: cheng@consilium.com Lines: 13 Xref: euryale.cc.adfa.oz.au comp.unix.programmer:55121 comp.unix.sco.misc:41843 comp.unix.bsd.freebsd.misc:42071 Hi, Suppose we have a process, and it forks a child process, in HP-UX 10.0. If the parent terminates (in an unexpected way), we may want to let that orphan child process exit. How can this be implemented? Or in other words, how can the child process know its parent has terminated? (It seems signal SIGHUP doesn't work.) Thanks. Joey -------------------==== Posted via Deja News ====----------------------- http://www.dejanews.com/ Search, Read, Post to Usenet