From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: prj@po.cwru.edu (Paul Jarc) Newsgroups: gmane.lisp.guile.devel Subject: Re: Support for (system '("echo" "foo" "bar")) Date: Fri, 31 Oct 2003 15:31:34 -0500 Organization: What did you have in mind? A short, blunt, human pyramid? Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: References: <87ad7l9i8h.fsf@raven.i.defaultvalue.org> <87u15qpjwk.fsf@zip.com.au> <877k2mgdjs.fsf@raven.i.defaultvalue.org> <87d6cde1tr.fsf@raven.i.defaultvalue.org> <87oevxb1uy.fsf@zip.com.au> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT X-Trace: sea.gmane.org 1067632375 22436 80.91.224.253 (31 Oct 2003 20:32:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 31 Oct 2003 20:32:55 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Oct 31 21:32:53 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AFfwz-0006v1-01 for ; Fri, 31 Oct 2003 21:32:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AFfwM-0000pU-2O for guile-devel@m.gmane.org; Fri, 31 Oct 2003 15:32:14 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AFfwH-0000p7-Qq for guile-devel@gnu.org; Fri, 31 Oct 2003 15:32:09 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AFfvk-0000ew-Un for guile-devel@gnu.org; Fri, 31 Oct 2003 15:32:08 -0500 Original-Received: from [129.22.104.63] (helo=harris.CNS.CWRU.Edu) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AFfvk-0000eq-5w for guile-devel@gnu.org; Fri, 31 Oct 2003 15:31:36 -0500 Original-Received: from conversion-daemon.smtp-a.cwru.edu by smtp-a.cwru.edu (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) id <0HNN00H0126Y4W@smtp-a.cwru.edu> for guile-devel@gnu.org; Fri, 31 Oct 2003 15:31:35 -0500 (EST) Original-Received: from multivac.cwru.edu (multivac.ITS.CWRU.Edu [129.22.114.26]) by smtp-a.cwru.edu (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with SMTP id <0HNN00GXK2CNK4@smtp-a.cwru.edu> for guile-devel@gnu.org; Fri, 31 Oct 2003 15:31:35 -0500 (EST) Original-Received: (qmail 6732 invoked by uid 500); Fri, 31 Oct 2003 20:31:57 +0000 In-reply-to: <87oevxb1uy.fsf@zip.com.au> Original-To: guile-devel@gnu.org Mail-followup-to: guile-devel@gnu.org Mail-Copies-To: nobody User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) Original-Lines: 16 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2945 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2945 Kevin Ryde wrote: > prj@po.cwru.edu (Paul Jarc) writes: >> Oops, right. Kevin also mentioned using _exit. I'm not sure why that >> would be important, > > When exiting due to an exec failure, you generally don't want to run > atexit handlers or flush stdio buffers. Those things of course are > not done if the exec succeeds. Ok. My procedure uses flush-all-ports before the fork, but atexit could still be an issue. In this particular case, though, we don't need _exit; we can just do (raise SIGKILL). The parent ignores the exit status if an exception was passed back. paul _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel