bleistift2@sopuli.xyz to Programmer Humor@programming.devEnglish · 8 days agoThinking I could clean up my files in a SIGINT handlersopuli.xyzimagemessage-square44fedilinkarrow-up1322arrow-down12
arrow-up1320arrow-down1imageThinking I could clean up my files in a SIGINT handlersopuli.xyzbleistift2@sopuli.xyz to Programmer Humor@programming.devEnglish · 8 days agomessage-square44fedilink
minus-squaresunshine@lemmy.mllinkfedilinkarrow-up5arrow-down1·8 days agoInteresting. Is this top answer accurate then? https://stackoverflow.com/questions/31731980/handling-a-linux-system-shutdown-operation-gracefully
minus-squarebleistift2@sopuli.xyzOPlinkfedilinkEnglisharrow-up4·edit-27 days 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