MCPcopy
hub / github.com/firecow/gitlab-ci-local / spawn

Method spawn

src/utils.ts:41–43  ·  view source on GitHub ↗
(cmdArgs: string[], cwd = process.cwd())

Source from the content-addressed store, hash-verified

39 }
40
41 static spawn (cmdArgs: string[], cwd = process.cwd()): Promise<{stdout: string; stderr: string}> {
42 return execa(cmdArgs[0], cmdArgs.slice(1), {cwd});
43 }
44
45 static syncSpawn (cmdArgs: string[], cwd = process.cwd()): {stdout: string; stderr: string} {
46 return execa.sync(cmdArgs[0], cmdArgs.slice(1), {cwd});

Callers 15

startMethod · 0.80
_doCleanupResourcesMethod · 0.80
execScriptsMethod · 0.80
actualPullMethod · 0.80
pullImageMethod · 0.80
copyInMethod · 0.80
copyArtifactsOutMethod · 0.80
copyOutMethod · 0.80
createDockerNetworkMethod · 0.80
startServiceMethod · 0.80

Calls 1

cwdMethod · 0.80

Tested by

no test coverage detected