Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[BUG] builtins with bad file descriptor can hang the shell
- X-seq: zsh-workers 49051
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [BUG] builtins with bad file descriptor can hang the shell
- Date: Thu, 10 Jun 2021 10:25:50 +0200
- Archived-at: <https://zsh.org/workers/49051>
- List-id: <zsh-workers.zsh.org>
- Mail-followup-to: zsh-workers@xxxxxxx
The following first 3 commands are OK. The 4th one hangs zsh,
with Ctrl-C and Ctrl-\ having no effect. This happens whether
MULTIOS is set or not.
zira% echo >&- > >(cat -n)
1
zira% echo >&2 > >(cat -n)
1
zira% /bin/echo >&3 > >(cat -n)
zsh: 3: bad file descriptor
zira% echo >&3 > >(cat -n)
zsh: 3: bad file descriptor
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author