3 ms·
So...this is too hard? import subprocess subprocess.run(["ls", "-l"]) # or subprocess.run("exit 1", shell=True, check=True) Reference: https://docs.python.
by rsyring 7y ago
So...this is too hard?
import subprocess
subprocess.run(["ls", "-l"])
# or
subprocess.run("exit 1", shell=True, check=True)
Reference: https://docs.python.org/3/library/subprocess.html https://docs.python.org/3/library/subprocess.html
- blacksqr 7y agoTcl: exec ls -l