minus-squareperpetualmaniac@lemmy.mltoPython@lemmy.ml•The Right Way to Run Shell Commands From Python | Martin Heinzlinkfedilinkarrow-up2·1 year agoIt’s fine for the majority of cases. Shell vulnerabilities exist when you take in user input. If it’s a personal project or you are composing the string to pass to the shell without user input then it’s perfectly fine. linkfedilink
It’s fine for the majority of cases. Shell vulnerabilities exist when you take in user input. If it’s a personal project or you are composing the string to pass to the shell without user input then it’s perfectly fine.