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 16:18:54 -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> <87znfh9l6v.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 1067635201 27908 80.91.224.253 (31 Oct 2003 21:20:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 31 Oct 2003 21:20:01 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Oct 31 22:19:57 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 1AFggX-00012F-00 for ; Fri, 31 Oct 2003 22:19:57 +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 1AFggD-0003cR-Kj for guile-devel@m.gmane.org; Fri, 31 Oct 2003 16:19:37 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AFgg4-0003bN-Sr for guile-devel@gnu.org; Fri, 31 Oct 2003 16:19:28 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AFgfY-0003UJ-NL for guile-devel@gnu.org; Fri, 31 Oct 2003 16:19:27 -0500 Original-Received: from [129.22.104.63] (helo=harris.CNS.CWRU.Edu) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AFgfX-0003U4-S3 for guile-devel@gnu.org; Fri, 31 Oct 2003 16:18:55 -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 <0HNN00M014HOCI@smtp-a.cwru.edu> for guile-devel@gnu.org; Fri, 31 Oct 2003 16:18:54 -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 <0HNN00GSA4JIK4@smtp-a.cwru.edu> for guile-devel@gnu.org; Fri, 31 Oct 2003 16:18:54 -0500 (EST) Original-Received: (qmail 7087 invoked by uid 500); Fri, 31 Oct 2003 21:19:16 +0000 In-reply-to: <87znfh9l6v.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: 19 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:2949 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2949 Kevin Ryde wrote: > prj@po.cwru.edu (Paul Jarc) writes: >> My procedure uses flush-all-ports before the fork, > > The current "system" function doesn't do that does it? No. Maybe it should. > There shouldn't be a need to flush, provided the code in the child > is nice and tight and won't accidentally do so there. Suppose we write some data to a port, and then we lose all references to the port without having closed it. In this case, garbage collection will free the port, which means closing it, which means, flushing it. Is it possible to guarantee that the child will not trigger garbage collection? paul _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel