Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: detect pipe
On Sun, Feb 14, 2021 at 1:19 PM Vincent Lefevre <vincent@xxxxxxxxxx> wrote:
>
> In any case, it is a bad idea to use a closed standard fd, unless
> you know that this is supported by the command.
OK, suppose I do know it's supported by the command. The proposed
POSIX change appears to me to mean that I can't cause the command to
receive a closed standard input, because the OS might reopen it to an
undefined location during fork/exec.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author