RE: ctrl-c does not send INT to all processes under foreground job

2014-03-19 Thread Ryan Ruan
" bash doesn't do anything until the child exits" --- yes, that is exactly what I have observed. Thank you very much for your exclamation, Ramey. /br Ruan -Original Message- From: Chet Ramey [mailto:chet.ra...@case.edu] Sent: 2014年3月19日 21:51 To: Ryan Ruan; bug-

ctrl-c does not send INT to all processes under foreground job

2014-03-18 Thread Ryan Ruan
Hello, guys: It is said that "ctrl-C sends INT to ALL processes under foreground job", but i found a weird phenomenon. I have not read source code yet, but it does not seem to ascribe to what specification says. Test code is like: 1 trap "echo hello world $1" 2 2 slee