Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
process substitution and Ctrl-C
- X-seq: zsh-users 15292
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: process substitution and Ctrl-C
- Date: Thu, 19 Aug 2010 14:41:42 +0200
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mail-followup-to: zsh-users@xxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
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 <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author