From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <93d3f4d8c7ad444db9626af772682441@proxima.alt.za> To: 9fans@cse.psu.edu Subject: Re: [9fans] APE exit() Date: Wed, 10 Jan 2007 06:17:49 +0200 From: lucio@proxima.alt.za In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 0076333a-ead2-11e9-9d60-3106f5b1d025 >>It seems that exit() performs a kill() that causes the window in >>which, in this case, ldapsearch runs to close. Using _EXITS(0) > > does it do a setsid()? either way i can't see how it can destroy the window, > but unless it does setsid() its call to exit shouldn't then call kill I'll have to look. I fear Unix and Plan 9 process control are a bit of a mystery to me, but I can check the sources, of course. And I agree with you that it shouldn't destroy the window, but it is the type of inconvenient behaviour that one can't help noticing. In ACME/win it is slightly different, but I think analogous. Thanks for putting me on some sort of track. ++L