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

Re: <(...), >(...) and fds above 9



On Mon, Jul 1, 2019 at 1:01 PM Stephane Chazelas
<stephane.chazelas@xxxxxxxxx> wrote:
>
> It looks like the key is *background* here, and it sounds like
> the reason is not so much about what the user expects but
> possibly some implementation limitation/consideration
>
> Is it documented anywhere that fds above 9 are closed for all
> commands started asynchronously?

This is a process security thing, to prevent rogue processes that
might be spawned from the shell having access to open files that they
shouldn't.



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