From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9104 invoked from network); 3 Dec 1997 15:31:37 -0000 Received: from ns2.primenet.com.au (7795@203.24.36.3) by ns1.primenet.com.au with SMTP; 3 Dec 1997 15:31:37 -0000 Received: (qmail 645 invoked from network); 3 Dec 1997 15:31:35 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns2.primenet.com.au with SMTP; 3 Dec 1997 15:31:35 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id KAA25179; Wed, 3 Dec 1997 10:14:46 -0500 (EST) Resent-Date: Wed, 3 Dec 1997 10:14:26 -0500 (EST) X-Authentication-Warning: buch.cs.ruu.nl: wsldanke owned process doing -bs Date: Wed, 3 Dec 1997 16:14:49 +0100 (MET) From: Wessel Dankers 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: <"ulMX32.0.l86.GTNXq"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1175 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Wed, 3 Dec 1997 kutek@cybercomm.net wrote: > 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. Try $$ Groetseltjes, -- Wessel Dankers