MCPcopy Create free account
hub / github.com/ComfyWorkflows/ComfyUI-Launcher / create_symlink

Function create_symlink

server/utils.py:495–499  ·  view source on GitHub ↗
(source, target)

Source from the content-addressed store, hash-verified

493 return None # No free port found in the range
494
495def create_symlink(source, target):
496 if os.name == 'nt': # Check if running on Windows
497 run_command(['mklink', '/D', target, source])
498 else:
499 os.symlink(source, target, target_is_directory=True)
500
501def create_virtualenv(venv_path):
502 run_command(['python', '-m', 'venv', venv_path])

Callers 1

create_comfyui_projectFunction · 0.90

Calls 1

run_commandFunction · 0.85

Tested by

no test coverage detected