From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: Re: Support for (system '("echo" "foo" "bar")) Date: Sat, 01 Nov 2003 07:48:56 +1000 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87vfq59iyf.fsf@zip.com.au> 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 X-Trace: sea.gmane.org 1067637080 31443 80.91.224.253 (31 Oct 2003 21:51:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 31 Oct 2003 21:51:20 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Oct 31 22:51:18 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 1AFhAs-0002gB-00 for ; Fri, 31 Oct 2003 22:51:18 +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 1AFh9R-0002DM-Jd for guile-devel@m.gmane.org; Fri, 31 Oct 2003 16:49:49 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AFh9N-0002DG-Qt for guile-devel@gnu.org; Fri, 31 Oct 2003 16:49:45 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AFh8r-00023g-2b for guile-devel@gnu.org; Fri, 31 Oct 2003 16:49:44 -0500 Original-Received: from [61.8.0.36] (helo=snoopy.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AFh8q-00023a-0A for guile-devel@gnu.org; Fri, 31 Oct 2003 16:49:12 -0500 Original-Received: from mongrel.pacific.net.au (mongrel.pacific.net.au [61.8.0.107]) by snoopy.pacific.net.au (8.12.3/8.12.3/Debian-6.6) with ESMTP id h9VLn9V0007521 for ; Sat, 1 Nov 2003 08:49:09 +1100 Original-Received: from localhost (ppp115.dyn228.pacific.net.au [203.143.228.115]) by mongrel.pacific.net.au (8.12.3/8.12.3/Debian-6.6) with ESMTP id h9VLmiDJ023746 for ; Sat, 1 Nov 2003 08:48:45 +1100 Original-Received: from gg by localhost with local (Exim 3.35 #1 (Debian)) id 1AFh8b-000503-00; Sat, 01 Nov 2003 07:48:57 +1000 Original-To: guile-devel@gnu.org Mail-Copies-To: never In-Reply-To: (Paul Jarc's message of "Fri, 31 Oct 2003 16:18:54 -0500") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) 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:2950 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2950 prj@po.cwru.edu (Paul Jarc) writes: > > Is it possible to guarantee that the child will not trigger garbage > collection? Probably not. A good reason to do it in C. (Though it could be argued that it ought to be possible to this sort of thing safely at the scheme level, somehow.) Incidentally, looking at glibc sysdeps/posix/system.c, it seems to ignore SIGINT and SIGQUIT in the parent while running the child. I'm not up with the standards or conventions on this, but for maximum compatibility I suppose a "system*" might like to do the same. (A spawn-only variant probably wouldn't want to.) _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel