MCPcopy
hub / github.com/ValueCell-ai/ClawX / needsWinShell

Function needsWinShell

electron/utils/win-shell.ts:37–40  ·  view source on GitHub ↗
(bin: string)

Source from the content-addressed store, hash-verified

35 * resolution on Windows.
36 */
37export function needsWinShell(bin: string): boolean {
38 if (process.platform !== 'win32') return false;
39 return !path.win32.isAbsolute(bin);
40}
41
42/**
43 * Prepare command and args for spawn(), handling Windows paths with spaces.

Callers 4

isPythonReadyFunction · 0.85
runPythonInstallFunction · 0.85
setupManagedPythonFunction · 0.85
win-shell.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected