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

Re: problem with 'ls | less' shell function



On Fri, Oct 21, 2022 at 12:41 AM Jun T <takimoto-j@xxxxxxxxxxxxxxxxx> wrote:
>
> The subshell have missed the SIGCHLD?

The subshell will never get the SIGCHLD, because it is a sibling of
the pipeline, not its parent.  It's up to the original shell to assign
the correct process group, which means the new subshell for the
function has to be in the same process group as the foreground job at
the time the STOP/TSTP was received.




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