MCPcopy Create free account
hub / github.com/esdoc/esdoc / exec

Function exec

script/sh.js:13–16  ·  view source on GitHub ↗
(cmd)

Source from the content-addressed store, hash-verified

11}
12
13function exec(cmd) {
14 cmd = cmd.replace(/\//g, path.sep);
15 childProcess.execSync(cmd, {stdio: 'inherit'});
16}
17
18function chmod(path, mode) {
19 fs.chmodSync(path, mode);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…