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

Re: `read -d x` hangs when run under gnu parallel, even if input is redirected



On Sat, Dec 13, 2025 at 5:15 PM Russell Harmon <russ@xxxxxx> wrote:
>
> I also found that my workaround of using --tty is inconsistent, but a
> better workaround is to ignore SIGTTOU.

Hang on, TTOU means something is trying to write to the TTY.  Have you tried

read -u 0 -d x </dev/random >&/dev/null

?  Does anything change if you add the -s option to read?



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