MCPcopy
hub / github.com/QwikDev/qwik / registerExecutedChildProcess

Function registerExecutedChildProcess

e2e/qwik-cli-e2e/utils/index.ts:90–97  ·  view source on GitHub ↗
(process: ChildProcess)

Source from the content-addressed store, hash-verified

88}
89
90export function registerExecutedChildProcess(process: ChildProcess) {
91 if (typeof global !== 'undefined') {
92 (global.pIds ??= []).push(process.pid);
93 log(`Registered a process with id "${process.pid}"`);
94 } else {
95 throw new Error('"global" is not defined');
96 }
97}
98
99export function runCommandUntil(
100 command: string,

Callers 1

runCommandUntilFunction · 0.85

Calls 1

logFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…