Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

process substitution and Ctrl-C



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