MCPcopy Create free account
hub / github.com/ChromeDevTools/devtools-frontend / runProcess

Function runProcess

test/run.ts:88–94  ·  view source on GitHub ↗
(exe: string, args: string[], options: childProcess.SpawnSyncOptionsWithStringEncoding)

Source from the content-addressed store, hash-verified

86}
87
88function runProcess(exe: string, args: string[], options: childProcess.SpawnSyncOptionsWithStringEncoding) {
89 if (logLevel !== 'error') {
90 // eslint-disable-next-line no-console
91 console.info(`Running '${exe}${args.length > 0 ? ` "${args.join('" "')}"` : ''}'`);
92 }
93 return childProcess.spawnSync(exe, args, options);
94}
95
96function ninja(stdio: 'inherit'|'pipe', ...args: string[]) {
97 let buildRoot = path.dirname(GEN_DIR);

Callers 2

ninjaFunction · 0.70
runMethod · 0.70

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected