bleistift2 to Programmer Humor@programming.devEnglish · 1 month agoThinking I could clean up my files in a SIGINT handlerimagemessage-square47fedilinkarrow-up1373arrow-down13
arrow-up1370arrow-down1imageThinking I could clean up my files in a SIGINT handlerbleistift2 to Programmer Humor@programming.devEnglish · 1 month agomessage-square47fedilink
minus-squaresunshine@lemmy.mllinkfedilinkarrow-up7arrow-down1·1 month agoInteresting. Is this top answer accurate then? https://stackoverflow.com/questions/31731980/handling-a-linux-system-shutdown-operation-gracefully
minus-squarebleistift2OPlinkfedilinkEnglisharrow-up4·edit-21 month agoIt turns out I’m getting SIGCHLD. It might be related to how my script is started – it is a bash script that starts a node process and is itself run by Cinnamon’s (?) startup applications feature. Wrong; still investigating
Interesting. Is this top answer accurate then?
https://stackoverflow.com/questions/31731980/handling-a-linux-system-shutdown-operation-gracefully
It turns out I’m getting SIGCHLD. It might be related to how my script is started – it is a bash script that starts a node process and is itself run by Cinnamon’s (?) startup applications feature.Wrong; still investigating