Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Close *all* file descriptors
- X-seq: zsh-users 27786
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: dominik.vogt@xxxxxx, Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Close *all* file descriptors
- Date: Sun, 22 May 2022 17:28:12 -0700
- Archived-at: <https://zsh.org/users/27786>
- In-reply-to: <YoqMZqv4XiIqPP1n@gmx.de>
- List-id: <zsh-users.zsh.org>
- References: <CAMP9c5m72agiGTgWwpi6JGTOsTuH58MGtiG7gJ+n01ey_iXd3A@mail.gmail.com> <CAH+w=7ZD9eHt-+AdVanOJru7r0JqDnT+FYqE5LRor2wt_bS8Bw@mail.gmail.com> <CAMP9c5kJ-zf1-Kyj0Px6dcXA9usPx_jcHN+M=0Y_uPfMNnC=sQ@mail.gmail.com> <YoqMZqv4XiIqPP1n@gmx.de>
On Sun, May 22, 2022 at 12:18 PM Dominik Vogt <dominik.vogt@xxxxxx> wrote:
>
> Does this help?
One problem with using $(lsof ...) is that the descriptor opened for
the process substitution will be listed in the output, so you have to
be careful not to attempt to close it or you'll get an EBADF error.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author