Date:Sun, 5 Apr 2020 05:06:56 +0300
From:=?UTF-8?B?T8SfdXo=?=
Message-ID:
| I was expecting it to work (i.e interrupt read again and call foo)
Isn't that what it did?
But I see what you mean now, during the read that's called from the
trap execution call of foo,
Thanks for the reply.
4 Nisan 2020 Cumartesi tarihinde Robert Elz yazdı:
> Date:Sat, 4 Apr 2020 08:32:57 +0300
> From:=?UTF-8?B?T8SfdXo=?=
> Message-ID: mail.gmail.com>
>
> | While waiting for read builtin to complete, bash executes signal
> handlers
> | in a s
Date:Sat, 4 Apr 2020 08:32:57 +0300
From:=?UTF-8?B?T8SfdXo=?=
Message-ID:
| While waiting for read builtin to complete, bash executes signal handlers
| in a subshell where signals are ignored. See below.
|
| $ foo() { trap foo INT; read; }
What that says, i