Wrapper for subprocess.run with additional logging
(cmd, *args, **kwargs)
| 61 | |
| 62 | |
| 63 | def _run(cmd, *args, **kwargs): |
| 64 | """Wrapper for subprocess.run with additional logging""" |
| 65 | log.debug("running command: %r", cmd) |
| 66 | result = subprocess.run(cmd, *args, **kwargs) |
| 67 | log.debug("command exited with returncode=%d", result.returncode) |
| 68 | return result |
| 69 | |
| 70 | |
| 71 | def check_build_dir(cli_ctx): |
no test coverage detected