Kory@lemmy.ml to linuxmemes@lemmy.world · 8 个月前Terminating a processlemmy.mlimagemessage-square98fedilinkarrow-up1817file-text
arrow-up1817imageTerminating a processlemmy.mlKory@lemmy.ml to linuxmemes@lemmy.world · 8 个月前message-square98fedilinkfile-text
minus-squareFushuan [he/him]@lemm.eelinkfedilinkEnglisharrow-up5·edit-28 个月前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.
minus-square0xD@infosec.publinkfedilinkarrow-up7·8 个月前You 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!