Use subprocess.run/check_output/… in examples
Closed this issue · 1 comments
flying-sheep commented
using string interpolation to construct commands is a really bad practice. You do so prominently in your examples by using os.system
. This will break as soon as one of the paths contains a space, unlike using subprocess.run(['cmd', path], check=True)
flying-sheep commented
Why did you close this? The README still contains calls to os.system