Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Subshells and parameters
- X-seq: zsh-users 10271
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Subshells and parameters
- Date: Wed, 17 May 2006 18:07:47 +0200
- In-reply-to: <060517084254.ZM8380@xxxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <lt8xp8sko1.fsf@xxxxxxxxxxxxxxxxxx> <20060511160123.29080117.pws@xxxxxxx> <20060512091722.GO4116@xxxxxxxxxxxxxxxxxxx> <87wtcr30nd.fsf@xxxxxxxxxx> <20060512230922.GA871@xxxxxxxxxxxxxxxxxxx> <87ac9m7k7w.fsf@xxxxxxxxxx> <20060517142404.GS871@xxxxxxxxxxxxxxxxxxx> <060517084254.ZM8380@xxxxxxxxxxxxxxxxxxxxxx>
On 2006-05-17 08:42:54 -0700, Bart Schaefer wrote:
> Example:
>
> getpid() { typeset -g PID=$(exec $ZSH_NAME -fc 'print $PPID') }
However, if $PATH has changed, this won't necessarily find the
executable.
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
Messages sorted by:
Reverse Date,
Date,
Thread,
Author