bleistift2@sopuli.xyz to Programmer Humor@programming.devEnglish · 2 months agoThinking I could clean up my files in a SIGINT handlersopuli.xyzexternal-linkmessage-square37fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkThinking I could clean up my files in a SIGINT handlersopuli.xyzbleistift2@sopuli.xyz to Programmer Humor@programming.devEnglish · 2 months agomessage-square37fedilink
minus-squareMaddier1993@programming.devlinkfedilinkarrow-up0·2 months 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·2 months 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·2 months 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.