MCPcopy Index your code
hub / github.com/garrytan/gstack / run

Function run

test/skill-e2e-plan.test.ts:24–25  ·  view source on GitHub ↗
(cmd: string, args: string[])

Source from the content-addressed store, hash-verified

22 beforeAll(() => {
23 planDir = fs.mkdtempSync(path.join(os.tmpdir(), 'skill-e2e-plan-ceo-'));
24 const run = (cmd: string, args: string[]) =>
25 spawnSync(cmd, args, { cwd: planDir, stdio: 'pipe', timeout: 5000 });
26
27 // Init git repo (CEO review SKILL.md has a "System Audit" step that runs git)
28 run('git', ['init', '-b', 'main']);

Callers 1

Calls 1

spawnSyncFunction · 0.85

Tested by

no test coverage detected