MCPcopy Index your code
hub / github.com/pymupdf/PyMuPDF / run_command

Function run_command

scripts/sysinstall.py:423–427  ·  view source on GitHub ↗
(command, capture=False, check=True, doit=True, env_extra=None, caller=0)

Source from the content-addressed store, hash-verified

421
422
423def run_command(command, capture=False, check=True, doit=True, env_extra=None, caller=0):
424 if doit:
425 return pipcl.run(command, capture=capture, check=check, caller=caller+2, env_extra=env_extra)
426 else:
427 log(f'## Would have run: {command}', caller=2)
428
429
430if __name__ == '__main__':

Callers 2

mainFunction · 0.85
runFunction · 0.85

Calls 2

logFunction · 0.50
runMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…