CDE
This commit is contained in:
parent
518da4a923
commit
764da6cbbb
6144 changed files with 83610 additions and 11 deletions
|
|
@ -0,0 +1,5 @@
|
|||
import subprocess
|
||||
# if the exit code was non-zero these commands raise a CalledProcessError
|
||||
exit_code = subprocess.check_call(['ls', '-l']) # Python 2.5+
|
||||
assert exit_code == 0
|
||||
output = subprocess.check_output(['ls', '-l']) # Python 2.7+
|
||||
Loading…
Add table
Add a link
Reference in a new issue