()
| 172 | } |
| 173 | |
| 174 | export async function stopAll(): Promise<void> { |
| 175 | await Promise.all(Array.from(processes.keys()).map(name => stop(name))); |
| 176 | } |
| 177 | |
| 178 | export function tailLog(name: string, source: 'stdout' | 'stderr' | 'combined' = 'combined', maxBytes = 4000): string { |
| 179 | const proc = processes.get(name); |