bleistift2@sopuli.xyz to Programmer Humor@programming.devEnglish · 17 days agoThinking I could clean up my files in a SIGINT handlersopuli.xyzimagemessage-square37fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageThinking I could clean up my files in a SIGINT handlersopuli.xyzbleistift2@sopuli.xyz to Programmer Humor@programming.devEnglish · 17 days agomessage-square37fedilink
minus-squareMaddier1993@programming.devlinkfedilinkarrow-up0·12 days agoI thought someone here had mentioned that the environment and user executing the script at startup and you running the script might have differences. The reason it would have worked with systemd might be that the environment was loaded correctly?
minus-squarebleistift2@sopuli.xyzOPlinkfedilinkEnglisharrow-up0·12 days agoWhy should the environment make a difference when it comes to receiving the SIGINT when the process gets killed?
minus-squareKairuByte@lemmy.dbzer0.comlinkfedilinkarrow-up0·12 days agoThey responded to the wrong post. They’re likely thinking of the auto start post.
I thought someone here had mentioned that the environment and user executing the script at startup and you running the script might have differences. The reason it would have worked with systemd might be that the environment was loaded correctly?
Why should the environment make a difference when it comes to receiving the SIGINT when the process gets killed?
They responded to the wrong post. They’re likely thinking of the auto start post.