MCPcopy Create free account
hub / github.com/ceph/ceph / _run

Function _run

src/script/cpatch.py:63–68  ·  view source on GitHub ↗

Wrapper for subprocess.run with additional logging

(cmd, *args, **kwargs)

Source from the content-addressed store, hash-verified

61
62
63def _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
71def check_build_dir(cli_ctx):

Callers 6

pull_base_imageFunction · 0.70
push_imageFunction · 0.70
_container_buildMethod · 0.70
_copy_binaryMethod · 0.70
_py_site_packagesMethod · 0.70
_cephadm_jobMethod · 0.70

Calls 2

debugMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected