MCPcopy Create free account
hub / github.com/PacktPublishing/3D-Graphics-Rendering-Cookbook / runPythonScript

Function runPythonScript

deps/bootstrap.py:392–396  ·  view source on GitHub ↗
(script_name)

Source from the content-addressed store, hash-verified

390
391
392def runPythonScript(script_name):
393 log("Running Python script " + script_name)
394 patch_dir = os.path.join(BASE_DIR, "patches")
395 filename = os.path.join(patch_dir, script_name)
396 dieIfNonZero(executeCommand(TOOL_COMMAND_PYTHON + " " + filename, False));
397
398
399def findToolCommand(command, paths_to_search, required = False):

Callers 1

mainFunction · 0.70

Calls 3

logFunction · 0.85
dieIfNonZeroFunction · 0.85
executeCommandFunction · 0.85

Tested by

no test coverage detected