MCPcopy Index your code
hub / github.com/DanielBok/nlopt-python / execute_command

Function execute_command

extensions.py:124–126  ·  view source on GitHub ↗
(cmd: List[str], cwd: Path, env: Dict[str, str] = os.environ)

Source from the content-addressed store, hash-verified

122
123
124def execute_command(cmd: List[str], cwd: Path, env: Dict[str, str] = os.environ):
125 logging.info(f"Running Command: {cwd.as_posix()}: {' '.join(cmd)}")
126 check_call(cmd, cwd=cwd.as_posix(), env=env)

Callers 1

build_extensionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected