From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9120 invoked from network); 3 Dec 1997 15:38:39 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 3 Dec 1997 15:38:39 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id KAA25438; Wed, 3 Dec 1997 10:20:32 -0500 (EST) Resent-Date: Wed, 3 Dec 1997 10:20:17 -0500 (EST) Date: Wed, 3 Dec 1997 16:22:58 +0100 (CET) From: Szekeres Istvan To: kutek@cybercomm.net cc: zsh-users@math.gatech.edu Subject: Re: getting PID of current shell process In-Reply-To: <199712031511.KAA06526@prism.cybercomm.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Resent-Message-ID: <"y0c9y3.0.yC6.nYNXq"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1176 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu > i need to have a way to get the pid of the current shell process but there > doesn't seem to be a way to do this easily eg no $PID shell variable. > Is there a reason for this and could you please add it if possible? > the $PPID doesn't help me at all. $$ evaluates to the pid of the current shell Pista