watchdog.d.ts 416 B

12345678910
  1. import { ChildProcess } from 'child_process';
  2. /**
  3. * Pass in a ChildProcess, and this will spawn a watchdog process that
  4. * will make sure it exits if the parent does, thus preventing any
  5. * dangling detached zombie processes.
  6. *
  7. * If the child ends before the parent, then the watchdog will terminate.
  8. */
  9. export declare const watchdog: (child: ChildProcess) => ChildProcess;
  10. //# sourceMappingURL=watchdog.d.ts.map