From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9721 invoked by alias); 30 Jan 2015 10:27:19 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 34434 Received: (qmail 15744 invoked from network); 30 Jan 2015 10:27:17 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 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== X-Received: by 10.194.8.2 with SMTP id n2mr10006313wja.46.1422611960668; Fri, 30 Jan 2015 01:59:20 -0800 (PST) Date: Fri, 30 Jan 2015 09:59:19 +0000 From: Stephane Chazelas To: Zsh hackers list Subject: mult_ios with "exec" Message-ID: <20150130095918.GA5545@chaz.gmail.com> Mail-Followup-To: Zsh hackers list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) 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