MCPcopy Index your code
hub / github.com/extrabacon/python-shell / getVersionSync

Method getVersionSync

index.ts:357–360  ·  view source on GitHub ↗
(pythonPath?: string)

Source from the content-addressed store, hash-verified

355 }
356
357 static getVersionSync(pythonPath?: string) {
358 if (!pythonPath) pythonPath = this.getPythonPath()
359 return execSync(pythonPath + " --version").toString()
360 }
361
362 /**
363 * Parses an error thrown from the Python process through stderr

Callers

nothing calls this directly

Calls 1

getPythonPathMethod · 0.95

Tested by

no test coverage detected