watchdog.d.ts 472 B

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