MCPcopy
hub / github.com/AndyMik90/Aperant / run

Function run

scripts/install-backend.js:19–27  ·  view source on GitHub ↗
(cmd, options = {})

Source from the content-addressed store, hash-verified

17
18// Helper to run commands
19function run(cmd, options = {}) {
20 console.log(`> ${cmd}`);
21 try {
22 execSync(cmd, { stdio: 'inherit', cwd: backendDir, ...options });
23 return true;
24 } catch (error) {
25 return false;
26 }
27}
28
29// Find Python 3.12+
30// Prefer 3.12 first since it has the most stable wheel support for native packages

Callers 1

mainFunction · 0.85

Calls 1

logMethod · 0.45

Tested by

no test coverage detected