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

Re: Weird interaction between zpty and trap



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