You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trapping sigterm and then waiting for user input on stdin.
When I pkill the process it does successfully ignore the signal. But when I hit enter to continue .wait() returns None even though I believe that should have been caught as a pending signal.
.wait() does return the signal if i call .wait() with a timeout and pkill while it waits. with a timeout and pkill during the timeout.
Is this intentional?
The text was updated successfully, but these errors were encountered:
Code has been deleted currently so can't test right now
One thread
I ended up moving to signal-hook and that worked. So I no longer have the code with issue around but I guess I could make a minimal reproducible example some time.
I'm trapping sigterm and then waiting for user input on stdin.
When I pkill the process it does successfully ignore the signal. But when I hit enter to continue .wait() returns None even though I believe that should have been caught as a pending signal.
.wait() does return the signal if i call .wait() with a timeout and pkill while it waits. with a timeout and pkill during the timeout.
Is this intentional?
The text was updated successfully, but these errors were encountered: