From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9069 invoked from network); 3 Dec 1997 15:24:48 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 3 Dec 1997 15:24:48 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id KAA25022; Wed, 3 Dec 1997 10:11:31 -0500 (EST) Resent-Date: Wed, 3 Dec 1997 10:11:04 -0500 (EST) From: kutek@cybercomm.net Message-Id: <199712031511.KAA06526@prism.cybercomm.net> Subject: getting PID of current shell process To: zsh-users@math.gatech.edu Date: Wed, 3 Dec 1997 10:11:13 -0500 (EST) X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"tt05c.0.C66.7QNXq"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1174 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu hi, 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. thanks B