Wrapper for subprocess.check_output, with logging.
(*args, **kwargs)
| 393 | |
| 394 | |
| 395 | def _check_output(*args, **kwargs): |
| 396 | """Wrapper for subprocess.check_output, with logging.""" |
| 397 | logging.info("Running: %s, %s; cmdline: %s.", args, kwargs, " ".join(*args)) |
| 398 | return subprocess.check_output(*args, universal_newlines=True, **kwargs) |
| 399 | |
| 400 | |
| 401 | def _make_dir_if_not_exist(*parts): |
no test coverage detected