second commit
This commit is contained in:
11
node_modules/foreground-child/dist/esm/watchdog.d.ts
generated
vendored
Normal file
11
node_modules/foreground-child/dist/esm/watchdog.d.ts
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
/// <reference types="node" resolution-mode="require"/>
|
||||
import { ChildProcess } from 'child_process';
|
||||
/**
|
||||
* Pass in a ChildProcess, and this will spawn a watchdog process that
|
||||
* will make sure it exits if the parent does, thus preventing any
|
||||
* dangling detached zombie processes.
|
||||
*
|
||||
* If the child ends before the parent, then the watchdog will terminate.
|
||||
*/
|
||||
export declare const watchdog: (child: ChildProcess) => ChildProcess;
|
||||
//# sourceMappingURL=watchdog.d.ts.map
|
Reference in New Issue
Block a user