[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: signals ignored in a subshell
From: |
Robert Elz |
Subject: |
Re: signals ignored in a subshell |
Date: |
Sun, 05 Apr 2020 13:34:49 +0700 |
Date: Sun, 5 Apr 2020 05:06:56 +0300
From: =?UTF-8?B?T8SfdXo=?= <oguzismailuysal@gmail.com>
Message-ID:
<CAH7i3Lr5TTK+N-qC39+nmSo7jjhzDvPux39N4i2MyP5LCnnv5w@mail.gmail.com>
| 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, SIGINT is blocked - that most probably should
not happen, and it looks as if when the trap handler exits, the
original read is resumed, that certainly shouldn't happen.
Still, I don't believe that the way the function is written is a way
that you can expect will work necessarily.
kre
- signals ignored in a subshell, Oğuz, 2020/04/04
- Re: signals ignored in a subshell, Robert Elz, 2020/04/04
- Re: signals ignored in a subshell, Oğuz, 2020/04/04
- Re: signals ignored in a subshell,
Robert Elz <=
- Re: signals ignored in a subshell, Oğuz, 2020/04/05
- Re: signals ignored in a subshell, Chet Ramey, 2020/04/05
- signals ignored in a subshell, Oğuz, 2020/04/06
- Re: signals ignored in a subshell, Oğuz, 2020/04/06
- Re: signals ignored in a subshell, Chet Ramey, 2020/04/06
- Re: signals ignored in a subshell, Robert Elz, 2020/04/06
- Re: signals ignored in a subshell, Robert Elz, 2020/04/06
- Re: signals ignored in a subshell, Chet Ramey, 2020/04/06
- Re: signals ignored in a subshell, Robert Elz, 2020/04/06
- Re: signals ignored in a subshell, Chet Ramey, 2020/04/06