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
- X-seq: zsh-users 30410
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Russell Harmon <russ@xxxxxx>
- Cc: zsh-users@xxxxxxx
- Subject: Re: `read -d x` hangs when run under gnu parallel, even if input is redirected
- Date: Mon, 15 Dec 2025 12:41:38 -0800
- Arc-authentication-results: i=1; mx.google.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=1ur0fOqMogLNi6tjB7q5Z5AkF153+3vbnNFnG04hrII=; fh=BXdIDE4Tv0rxzT21IDrM+n42PjWXZUHLCeRceGcvf0c=; b=Y5UeiviaQP0Z0Ku16AwdY0Ac3IRzm4NVIEPXxhfpHI5jTXpak1sCtYmLQNHAWD7+MX l6Q2MwJubIlgL1a5uYIsIRq4Yub8xmJVARp9znLRRmxV9jo9pFB3a3SLubZ/zXhAPFtM 0/4IMLjXM9H5PcEOznx0UAVkksOjzf8mMSCoO9YRD228B2ZcBvWEmV7dXXS1tTPVQfPT /qI9bncVyqMO22kVt8lIHuIAoW5+Ldp9iytk9IJ0PQzD0EqVXvdwSIzCUdv3ctdXKEiS VOeivWXnxLB2ZSb29AnyjF8YKrGdD3BPYeJRfj7Qq9UXTjykpza0mLZbdBo9fj8FW0Yv lrNA==; darn=zsh.org
- Arc-seal: i=1; a=rsa-sha256; t=1765831310; cv=none; d=google.com; s=arc-20240605; b=WqEHdxV4GZ7jL3ZZnWrwNiL4Y+tfYQEG8d8xuQLJrUC3AzOWUQY5zvUb1h5BKFr7cx 7C4+4aGgRZxdd+kF6W2G8gGZznu3qRQTWu1v1kB8FAbeZP6QeAZnDDOanymcnZfvXE0A ldwH9hdfER8LiQX6+XNMW+8uf7ugsjO2P1HklWE0VnOkozDU97kRm4li4vNW8wcbS68+ y/Qr8EZlYq4WawFsTZwZChwZJbh0Kq9v6pZupO5Sa3/FvjbQaiXUGHwwnN0qiBj/TuIi abPYhN1OR9Q6U2yCVE7SBncuWCjbktGleB0rFg/7vB5Q46LJNqCphN6CfnoblicENz9J HZ4Q==
- Archived-at: <https://zsh.org/users/30410>
- In-reply-to: <CA+zrezSBFM1qAWe7L1Lf+NiePjNwMu=K5FbYS-au4P_T7eW_7Q@mail.gmail.com>
- List-id: <zsh-users.zsh.org>
- References: <CA+zrezQe4G8X5fUb_vc5yAm1q19Y-7Sh+OL7sHxuB_4tYhvcMQ@mail.gmail.com> <CAH+w=7aPUfNo5i6WqGmb-rqPsLhHtYmHgHNPstmsuXXT137p8A@mail.gmail.com> <CA+zrezSBFM1qAWe7L1Lf+NiePjNwMu=K5FbYS-au4P_T7eW_7Q@mail.gmail.com>
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