On 02/11, Chet Ramey wrote:
>
> You do realize that this case is indistinguishable from the original
> scenario in question: the child gets the SIGINT, handles it, and exits
> successfully (or not).
I already tried to discuss this, but you didn't reply ;) See
http://www.mail-archive.com/bug-bash@gnu.org/msg08528.html
So, if I understand correctly, you mean that
#!/bin/sh
interactive_application
echo DONE
shouldn't be interrupted by SIGINT after interactive_application exits.
For example, it can be a text-editor which treats SIGINT specially.
But, in this case, shouldn't we fix the script above? In this case
the shell and the application should not run in the same tty->pgrp
group, or we can add "trap SIGINT".
Oleg.