@Kory@lemmy.ml to linuxmemes@lemmy.world • 15 hours agoTerminating a processlemmy.mlimagemessage-square91fedilinkarrow-up1621arrow-down131file-text
arrow-up1590arrow-down1imageTerminating a processlemmy.ml@Kory@lemmy.ml to linuxmemes@lemmy.world • 15 hours agomessage-square91fedilinkfile-text
minus-squareFushuan [he/him]linkfedilinkEnglish5•edit-210 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-square@0xD@infosec.publinkfedilink5•3 hours 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!