Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: File locking within zsh?
- X-seq: zsh-users 10245
- From: Tim Writer <tim@xxxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: File locking within zsh?
- Date: 11 May 2006 10:25:34 -0400
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <060510204131.ZM11934@xxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <87r7324zyh.fsf@xxxxxxxxxx> <ltd5emv9lh.fsf@xxxxxxxxxxxxxxxxxx> <009101c673f7$06b3f090$6500000a@venti> <877j4ujizh.fsf@xxxxxxxxxx> <ltejz1sfj1.fsf@xxxxxxxxxxxxxxxxxx> <060510204131.ZM11934@xxxxxxxxxxxxxxxxxxxxxx>
- Sender: tim@xxxxxxxxxxx
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> writes:
> On May 10, 6:04pm, Tim Writer wrote:
> }
> } IIRC, zsh avoids forking in subshells but don't most
> } shells implement subshells with fork()?
>
> Zsh forks for subshells, too. It may avoid an *additional* fork when
> the only thing the subshell does is execute an external command, but
> it always forks at least once.
Okay. But I don't understand this:
tim@ganesh% echo $ZSH_VERSION
4.2.5
tim@ganesh% echo $$; ( echo $$ )
18095
18095
tim@ganesh%
--
tim writer <tim@xxxxxxxxxxx> starnix inc.
647.722.5301 toronto, ontario, canada
http://www.starnix.com professional linux services & products
Messages sorted by:
Reverse Date,
Date,
Thread,
Author