Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Weird interaction between zpty and trap
- X-seq: zsh-workers 51595
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Felipe Contreras <felipe.contreras@xxxxxxxxx>
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: Weird interaction between zpty and trap
- Date: Wed, 22 Mar 2023 15:06:30 -0700
- Archived-at: <https://zsh.org/workers/51595>
- In-reply-to: <CAMP44s1GSi7JN=7ztJ7VKn+eDcX4HsBxpDCNqrZEbZqxBdNWzw@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAMP44s1GSi7JN=7ztJ7VKn+eDcX4HsBxpDCNqrZEbZqxBdNWzw@mail.gmail.com>
On Tue, Mar 21, 2023 at 9:50 PM Felipe Contreras
<felipe.contreras@xxxxxxxxx> wrote:
>
> Should the command executed by zpty keep the EXIT trap?
Tough call. It's technically a subshell, so by that distinction it
should follow the rules for subshells.
Aside, I never really thought about it before, but why wasn't zpty
implemented using the clone module? Just to avoid a dependency?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author