From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23038 invoked from network); 17 May 2006 14:24:26 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.1 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 17 May 2006 14:24:26 -0000 Received: (qmail 36803 invoked from network); 17 May 2006 14:24:20 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 17 May 2006 14:24:20 -0000 Received: (qmail 15983 invoked by alias); 17 May 2006 14:24:10 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10268 Received: (qmail 15973 invoked from network); 17 May 2006 14:24:09 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 17 May 2006 14:24:09 -0000 Received: (qmail 35608 invoked from network); 17 May 2006 14:24:09 -0000 Received: from vinc17.net8.nerim.net (HELO prunille.vinc17.org) (62.212.121.106) by a.mx.sunsite.dk with SMTP; 17 May 2006 14:24:07 -0000 Received: by prunille.vinc17.org (Postfix, from userid 501) id 76021906884; Wed, 17 May 2006 16:24:05 +0200 (CEST) Date: Wed, 17 May 2006 16:24:04 +0200 From: Vincent Lefevre To: zsh-users@sunsite.dk Subject: Re: Subshells and parameters Message-ID: <20060517142404.GS871@prunille.vinc17.org> Mail-Followup-To: zsh-users@sunsite.dk References: <20060511160123.29080117.pws@csr.com> <20060512091722.GO4116@prunille.vinc17.org> <87wtcr30nd.fsf@asfast.com> <20060512230922.GA871@prunille.vinc17.org> <87ac9m7k7w.fsf@asfast.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87ac9m7k7w.fsf@asfast.com> X-Mailer-Info: http://www.vinc17.org/mutt/ User-Agent: Mutt/1.5.11-vl-20060510 On 2006-05-12 22:05:23 -0400, Lloyd Zusman wrote: > Thanks. However, just as in my original message in the other thread, > I'm wondering if there's a solution that doesn't require a separate > executable. In other words, is it possible to get a subshell's pid > in a zsh-only manner, without using anything like the "stat" > executable nor the "getpid" utility described above? You need a module, but this isn't implemented yet. Peter said: getpid() is another thing which could be added to the zsh/system module. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / SPACES project at LORIA