I'm trying to catch a Unix signal to identify a process death i.e the user removed the app from recents.
Tried to catch SIGTERM but it seems unrelated to the matter.
So, which Unix signal can be caught for a case like this one ?
I'm trying to catch a Unix signal to identify a process death i.e the user removed the app from recents.
Tried to catch SIGTERM but it seems unrelated to the matter.
So, which Unix signal can be caught for a case like this one ?