MCPcopy Create free account
hub / github.com/continuedev/continue / execCmdSync

Function execCmdSync

scripts/util/index.js:4–11  ·  view source on GitHub ↗
(cmd)

Source from the content-addressed store, hash-verified

2const { execSync } = require("child_process");
3
4function execCmdSync(cmd) {
5 try {
6 execSync(cmd);
7 } catch (err) {
8 console.error(`Error executing command '${cmd}': `, err.output.toString());
9 process.exit(1);
10 }
11}
12
13function autodetectPlatformAndArch() {
14 platform = {

Callers 12

installAndCopySqliteFunction · 0.85
installAndCopyEsbuildFunction · 0.85
buildGuiFunction · 0.85
downloadSqliteBinaryFunction · 0.85
downloadRipgrepBinaryFunction · 0.85
generateConfigYamlSchemaFunction · 0.85
installNodeModulesInGuiFunction · 0.85
downloadNodeSqliteFunction · 0.85
bundleForBinaryFunction · 0.85

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected