Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Suggested changes to Etc/FAQ



On Sat, Nov 11, 2023 at 3:59 AM Stephane Chazelas <stephane@xxxxxxxxxxxx> wrote:
>
> On 2023-11-11 05:10, Bart Schaefer wrote:
> > @@ -497,8 +504,9 @@ tt(RM_STAR_SILENT),
> >      it()  In mytt(cmd1 && cmd2 &), only mytt(cmd2) instead of the
> > whole
> > +        expression is run in the background in zsh.  In versions
> > beginning
> > +     with 5.9, the whole expression is backgrounded during sh emulation.
> > +     Use mytt({ cmd1 && cmd2 } &) as a workaround in zsh native mode.
>
> Unless I'm misunderstanding that statement, that's not what I observe
> here with zsh 5.9 from the Debian package, nor in the current git HEAD:

Hmm.  The test I used was "print -aC2 -- ${(kv)sysparams}" and I got
only one PID output in sh emulation but that seems to have been
because I forgot to use [@] on the array.

So you're correct, that hunk should be excluded.  I was expecting
workers/47794 to have affected this, but it doesn't.




Messages sorted by: Reverse Date, Date, Thread, Author