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

Re: Close *all* file descriptors



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