()
| 121 | } |
| 122 | } |
| 123 | function removeProcessHandlersIfNeeded() { |
| 124 | if (killSet.size) |
| 125 | return; |
| 126 | for (const handler of installedHandlers) |
| 127 | process.off(handler, processHandlers[handler]); |
| 128 | installedHandlers.clear(); |
| 129 | } |
| 130 | |
| 131 | export async function launchProcess(options: LaunchProcessOptions): Promise<LaunchResult> { |
| 132 | const stdio: ('ignore' | 'pipe')[] = options.stdio === 'pipe' ? ['ignore', 'pipe', 'pipe', 'pipe', 'pipe'] : ['pipe', 'pipe', 'pipe']; |
no test coverage detected
searching dependent graphs…