(command, args, options = {})
| 207 | process.on('SIGINT', () => process.exit(130)); |
| 208 | |
| 209 | function run(command, args, options = {}) { |
| 210 | const child = spawn(command, args, { cwd: root, stdio: 'ignore', ...options }); |
| 211 | children.push(child); |
| 212 | return child; |
| 213 | } |
| 214 | |
| 215 | async function waitFor(what, probe, attempts = 90) { |
| 216 | for (let i = 0; i < attempts; i++) { |