From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19533 invoked by alias); 19 Aug 2010 12:47:34 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 15292 Received: (qmail 374 invoked from network); 19 Aug 2010 12:47:29 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at vinc17.net does not designate permitted sender hosts) Date: Thu, 19 Aug 2010 14:41:42 +0200 From: Vincent Lefevre To: zsh-users@zsh.org Subject: process substitution and Ctrl-C Message-ID: <20100819124142.GQ16075@prunille.vinc17.org> Mail-Followup-To: zsh-users@zsh.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Mailer-Info: http://www.vinc17.org/mutt/ User-Agent: Mutt/1.5.20-6127-vl-r38670 (2010-08-14) Hi, In the following example: { repeat 10 { date >&2; /bin/sleep 1 } } 2>>(cat -n; loop) where "loop" is a program that consumes CPU time, is it normal that when one interrupts the command with Ctrl-C, the substituted process isn't killed? (I can see "loop" taking CPU time.) The zsh man page says that the command is run asynchronously, but this notion is never clearly defined. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)