MCPcopy Index your code
hub / github.com/react/react / exec

Function exec

scripts/shared/listChangedFiles.js:11–20  ·  view source on GitHub ↗
(command, args)

Source from the content-addressed store, hash-verified

9const execFileSync = require('child_process').execFileSync;
10
11const exec = (command, args) => {
12 console.log('> ' + [command].concat(args).join(' '));
13 const options = {
14 cwd: process.cwd(),
15 env: process.env,
16 stdio: 'pipe',
17 encoding: 'utf-8',
18 };
19 return execFileSync(command, args, options);
20};
21
22const isGit = () => {
23 try {

Callers 15

mainFunction · 0.85
mainFunction · 0.85
ignoreList-test.jsFile · 0.85
asyncExecuteCommandFunction · 0.85
runFunction · 0.85
execReadFunction · 0.85
executableIsAvailableFunction · 0.85
getWorkflowRunFunction · 0.85
getArtifactFunction · 0.85
processArtifactFunction · 0.85
runFunction · 0.85
runFunction · 0.85

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected