Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
capture stderr in command substitution
- X-seq: zsh-users 26410
- From: Ray Andrews <rayandrews@xxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: capture stderr in command substitution
- Date: Sun, 24 Jan 2021 11:45:31 -0800
- Archived-at: <https://zsh.org/users/26410>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-users/2021-01/1eb9835c-3911-d4ea-6456-d9ad52ceffea%40eastlink.ca>
- List-id: <zsh-users.zsh.org>
$ var=$(command)
... but $var doesn't pick up errors. Can it be forced?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author