Skip to content
Snippets Groups Projects

force `subprocess.run` to check return code is 0

Merged Hans Fangohr requested to merge force-checking-of-error-code into linux-debian11
All threads resolved!
2 files
+ 4
3
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -54,10 +54,10 @@ class os_chdir:
def run(*args, counter=[0], **kwargs):
"""
Call subprocess.run(*args, **kwargs) and print logging data.
Call subprocess.run and print logging data.
Conveniene function to call `subprocess.run` and provide some metadata
about the call.
Conveniene function to call `subprocess.run(*args, **kwargs)`
and provide some metadata about the call.
Parameters
----------
Loading