mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2025-09-15 12:27:30 +00:00
10 lines
416 B
TypeScript
10 lines
416 B
TypeScript
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
|