Kory@lemmy.ml to linuxmemes@lemmy.world · 13 hours agoTerminating a processlemmy.mlimagemessage-square89fedilinkarrow-up1578arrow-down130file-text
arrow-up1548arrow-down1imageTerminating a processlemmy.mlKory@lemmy.ml to linuxmemes@lemmy.world · 13 hours agomessage-square89fedilinkfile-text
minus-squareFushuan [he/him]@lemm.eelinkfedilinkEnglisharrow-up4·edit-29 hours agoLinux programs can also capture signal calls. They usually only capture sigints so that they can close gracefully, but theoretically you could also capture a sigkill.
minus-square0xD@infosec.publinkfedilinkarrow-up4·1 hour agoYou cannot catch SIGKILL. https://stackoverflow.com/questions/2541597/how-to-gracefully-handle-the-sigkill-signal-in-java/2541618#2541618
Linux programs can also capture signal calls. They usually only capture sigints so that they can close gracefully, but theoretically you could also capture a sigkill.
You cannot catch SIGKILL.
https://stackoverflow.com/questions/2541597/how-to-gracefully-handle-the-sigkill-signal-in-java/2541618#2541618
Thanks!