3 ms·
You can pass shell=True if you want it too: subprocess.check_output("ls -al", shell=True) Note the possible resulting security vulnerabilities.
by koenigdavidmj 16y ago
You can pass shell=True if you want it too:
subprocess.check_output("ls -al", shell=True)
Note the possible resulting security vulnerabilities.