Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: revised patch: zshmisc(1) clarify non-successful exit statuses
- X-seq: zsh-workers 48679
- From: <zeurkous@xxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Cc: <zsh-workers@xxxxxxx>
- Subject: RE: revised patch: zshmisc(1) clarify non-successful exit statuses
- Date: Fri, 23 Apr 2021 23:18:30 +0200
- Archived-at: <https://zsh.org/workers/48679>
- In-reply-to: <CAH+w=7a7TbgSs+DScqrKBmdNNF-1UvM1HgCu-+E9N-E+8yUtYA@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <20210411141520.4ABA89D5@volny.cz>, <20210413155236.GR6819@tarpaulin.shahaf.local2>, <20210413200341.D91B3837@volny.cz>, <20210414110355.GA31655@tarpaulin.shahaf.local2>, <20210414134033.1AB3540B@volny.cz>, <20210423141844.D01FC4C9@volny.cz>, <CAH+w=7awHtbKTdeGpbcoqYjJKrPx8d3Rk-3h5==ssCydY-kSqg@mail.gmail.com>, <20210423230358.344B9302@volny.cz> <CAH+w=7a7TbgSs+DScqrKBmdNNF-1UvM1HgCu-+E9N-E+8yUtYA@mail.gmail.com>
"Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Fri, Apr 23, 2021 at 2:03 PM <zeurkous@xxxxxxxx> wrote:
>>
>> That opens up a question: what happens when execution fails inside the
>> handler?
>
> Besides "The return status of the function becomes the status of the command." ?
Yes.
> If the handler is sufficiently badly written that it invokes the same
> command name again
Or another command that fails execution?
> (with first installing it or some such), you get a
> fork-bomb.
,s/with/without/ :?
--zeurkous.
--
Friggin' Machines!
Messages sorted by:
Reverse Date,
Date,
Thread,
Author