MCPcopy
hub / github.com/Comfy-Org/ComfyUI-Manager / run_script

Method run_script

comfyui_manager/glob/manager_core.py:1676–1683  ·  view source on GitHub ↗
(self, cmd, cwd='.')

Source from the content-addressed store, hash-verified

1674 pass
1675
1676 def run_script(self, cmd, cwd='.'):
1677 if len(cmd) > 0 and cmd[0].startswith("#"):
1678 print(f"[ComfyUI-Manager] Unexpected behavior: `{cmd}`")
1679 return 0
1680
1681 subprocess.check_call(cmd, cwd=cwd, env=get_script_env())
1682
1683 return 0
1684
1685
1686manager_funcs = ManagerFuncs()

Callers 5

repo_installMethod · 0.45
try_install_scriptFunction · 0.45
gitclone_installFunction · 0.45
rmtreeFunction · 0.45
gitclone_uninstallFunction · 0.45

Calls 1

get_script_envFunction · 0.70

Tested by

no test coverage detected