@[email protected] to [email protected] • 6 months agoTerminating a processlemmy.mlimagemessage-square97fedilinkarrow-up1741arrow-down139file-text
arrow-up1702arrow-down1imageTerminating a processlemmy.ml@[email protected] to [email protected] • 6 months agomessage-square97fedilinkfile-text
minus-squareFushuan [he/him]linkfedilinkEnglish5•edit-26 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-square@[email protected]linkfedilink7•6 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
Thanks!