aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/tree-kill/index.d.ts
blob: e0b1302265ef0548a8bff40fbf92fa4706fdd58f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
/**
 * Kills process identified by `pid` and all its children
 *
 * @param pid
 * @param signal 'SIGTERM' by default
 * @param callback
 */
declare function treeKill(pid: number, callback?: (error?: Error) => void): void;
declare function treeKill(pid: number, signal?: string | number, callback?: (error?: Error) => void): void;

declare namespace treeKill {}

export = treeKill;
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage