Unix signals handling reset when initializing jpype
Status: Beta
Brought to you by:
devilwolf
Hello
I've just noticed that all my lovely SIGKILL , SIGINT and other signal handlers, set from python code, were overridden/removed when initializing the java interpreter via jpype.
Maybe it's a behaviour of the JNI that we can't prevent, but it'd be sweet to document it, because it took me some time to understand why my cleanup tasks just didn't work ^^
Solution here: https://gist.github.com/bartoszbielawski/a92801856ad2eb57dbfadd993cd5f601