MCPcopy Index your code
hub / github.com/NanmiCoder/cc-haha / getPythonCommandEnv

Function getPythonCommandEnv

src/utils/computerUse/pythonBridge.ts:30–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28let bootstrapPromise: Promise<void> | undefined
29
30function getPythonCommandEnv(): NodeJS.ProcessEnv | undefined {
31 if (!isWindows) return undefined
32 return {
33 ...process.env,
34 PYTHONIOENCODING: 'utf-8',
35 PYTHONUTF8: '1',
36 }
37}
38
39function pythonBinPath(): string {
40 return isWindows

Callers 1

callPythonHelperFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected