subprocess the system cannot find the file specified code example
Example: subprocess the system cannot find the file specified
import subprocess
subprocess.run("ls", shell=True) #shell = True
import subprocess
subprocess.run("ls", shell=True) #shell = True