MCPcopy Create free account
hub / github.com/cli/cli / run

Function run

evals/src/smoke.ts:188–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186 },
187 });
188 const run: GhRunner = args => new Promise(done => {
189 execFile(join(home, "bin/gh"), args, { cwd: workDir, env, timeout: 60_000 }, (error, stdout, stderr) => {
190 done({ code: error ? (typeof error.code === "number" ? error.code : null) : 0, stdout, stderr });
191 });
192 });
193 checkInterrupted();
194 const deleted = await runSubscriptionCommands(run, pr.html_url);
195 console.error(`smoke: created, viewed, listed, and deleted subscription ${deleted}`);

Callers 1

Calls 1

doneFunction · 0.85

Tested by 1