MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / runProcess

Function runProcess

test/e2e/utils.ts:43–58  ·  view source on GitHub ↗
(
  command: string,
  args: string[] = [],
  { cwd, env = {} }: ProcessOptions
)

Source from the content-addressed store, hash-verified

41export const getCliPath = () => CLI_PATH;
42
43export const runProcess = async (
44 command: string,
45 args: string[] = [],
46 { cwd, env = {} }: ProcessOptions
47): Promise<RenderResult> => {
48 return render(command, args, {
49 cwd,
50 spawnOpts: {
51 env: {
52 ...process.env,
53 ...DEFAULT_TEST_ENV,
54 ...env
55 }
56 }
57 });
58};
59
60export const runCli = async (
61 args: string[] = [],

Callers 2

runCliFunction · 0.85

Calls 1

renderFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…