MCPcopy Create free account
hub / github.com/DanielKeep/rust-conv / sh

Function sh

update-docs.py:19–25  ·  view source on GitHub ↗
(cmd)

Source from the content-addressed store, hash-verified

17TRACE_UPDATE_DOCS = os.environ.get('TRACE_UPDATE_DOCS', '') != ''
18
19def sh(cmd):
20 msg_trace('sh(%r)' % cmd)
21 try:
22 subprocess.check_call(cmd, shell=True)
23 except:
24 msg_trace('FAILED!')
25 raise
26
27def sh_eval(cmd, codec='utf-8', dont_strip=False):
28 msg_trace('sh_eval(%r)' % cmd)

Callers 2

init_doc_branchFunction · 0.85
mainFunction · 0.85

Calls 1

msg_traceFunction · 0.85

Tested by

no test coverage detected