Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
mult_ios with "exec"
- X-seq: zsh-workers 34434
- From: Stephane Chazelas <stephane.chazelas@xxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: mult_ios with "exec"
- Date: Fri, 30 Jan 2015 09:59:19 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mail-followup-to:mime-version :content-type:content-disposition:user-agent; bh=QNYcd7zD+TIM7u1ymjW9v0bfjXHoFh69QG8zePRWGzU=; b=W3m+RwlfA3L9t9IFUQ9gNCl3/wQ5wVw66wtRLAX/aBlc9Cfj0kRI1sQmr8PQmNrgLf rX9/rCFNzXQxF3krmRmsMNAQv5w+Wddu8g1yFaAj5gGuo2L3wKE8+OrtrHufvoWCeskc 8xN6pAeQFprSjQqNpj1rlRt3NXiTbeIv5qJAD/AaddS6raO0LtFPAICCywW3hphPEOrl p8cXAQjZmHtZe703ZFI3IIXesW2ieR+F5lO1rTG5z4fKKNb+eRIZlXiu1ADhd7vArqqY UIJaNOQvkiVQzl5lkTmBs8uleK18i4hSsXkZ/QWx8MbXZ0S/GfPf/6BrWPSseD30v+H2 SlDQ==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mail-followup-to: Zsh hackers list <zsh-workers@xxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
zsh -c 'exec 3> a 3> b; echo never reached'
That command hangs.
strace shows zsh stuck on:
rt_sigsuspend([INT])
Same with >>, not with < or <> (though I suppose mult_ios
doesn't apply to <> or is equivalent to < there).
Note:
$ zsh -c 'eval exec 3> a 3> b; echo test >&3'
zsh:1: 3: bad file descriptor
(same with other shells (except the Bourne shell)).
zsh -c 'exec 3> >(tee a > b); echo reached'
is OK.
--
Stephane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author