(process: ChildProcess)
| 88 | } |
| 89 | |
| 90 | export 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 | |
| 99 | export function runCommandUntil( |
| 100 | command: string, |
no test coverage detected
searching dependent graphs…