MCPcopy Create free account
hub / github.com/Surfer-Org/Protocol / runCommand

Method runCommand

desktop/src/main/helpers/python.ts:135–139  ·  view source on GitHub ↗
(command: string)

Source from the content-addressed store, hash-verified

133 }
134
135 async runCommand(command: string) {
136 const { stdout, stderr } = await execAsync(command);
137 console.log('stdout:', stdout);
138 console.log('stderr:', stderr);
139 }
140
141 async runPythonScript(scriptPath: string, mainWindow: BrowserWindow) {
142 const pythonPath = this.SurferPythonPath;

Callers

nothing calls this directly

Calls 1

onMethod · 0.80

Tested by

no test coverage detected