Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Can't redirect segmentation fault error to file
- X-seq: zsh-workers 36921
- From: Ismail Donmez <ismail@xxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Can't redirect segmentation fault error to file
- Date: Fri, 23 Oct 2015 07:06:36 +0000 (UTC)
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Hi,
Suppose I have a crashing executable:
λ ./a.out
[1] 6511 segmentation fault (core dumped) ./a.out
For some reason I want to redirect the segmentation fault error to a file.
λ { ./a.out; } 2> err
λ
I do that and err is an empty file. Same thing seems to work fine in bash. I
tried with zsh 5.1.1 without success.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author