Kory@lemmy.ml to linuxmemes@lemmy.world · 2 months agoTerminating a processlemmy.mlexternal-linkmessage-square20fedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1external-linkTerminating a processlemmy.mlKory@lemmy.ml to linuxmemes@lemmy.world · 2 months agomessage-square20fedilinkfile-text
minus-squareFushuan [he/him]@lemm.eelinkfedilinkEnglisharrow-up0·edit-22 months 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-up0·2 months 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