supress any output from subprocess
subprocess.run(cmd, shell=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
this is how to suppress any output when executing a subprocess in python.
subprocess.run(cmd, shell=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
this is how to suppress any output when executing a subprocess in python.