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

Function run

tests/test_pixmap.py:289–291  ·  view source on GitHub ↗
(command, check=1, stdout=None)

Source from the content-addressed store, hash-verified

287 in_path = f'{root}/tests/resources/test_3493.epub'
288
289 def run(command, check=1, stdout=None):
290 print(f'Running with {check=}: {command}')
291 return subprocess.run(command, shell=1, check=check, stdout=stdout, text=1)
292
293 def run_code(code, code_path, *, check=True, venv=None, venv_args='', pythonpath=None, stdout=None):
294 code = textwrap.dedent(code)

Callers 1

run_codeFunction · 0.70

Calls 1

runMethod · 0.45

Tested by

no test coverage detected