I put in the exact code but I get an error
Import subprocess
Completed = subprocess.run([“ls”, “-l”])
I get bunch of errors and filenotfounderror:winerror2 the system cannot find file specified
I put in the exact code but I get an error
Import subprocess
Completed = subprocess.run([“ls”, “-l”])
I get bunch of errors and filenotfounderror:winerror2 the system cannot find file specified
Are you on Windows? ls
is a Unix command.