Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [BUG] exec + builtin and traps
On Tue, 12 Sep 2017 14:02:37 +0200
Vincent Lefevre <vincent@xxxxxxxxxx> wrote:
> Why is "foo" (from the trap) printed before "bar", then?
OK, so it's on the *sub* list after the command before the &&
(wait) has executed successfully, but before the foo is executed.
> > I don't think NO_ASYNC_TRAPS behaviour is standardised.
>
> That's another reason why it would be useful to clearly document
> when traps are run precisely.
Yes, it's a bit obscure and not really planned --- they just happen
"sufficienly often".
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author