Last change
on this file since b738035 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
381 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | /**
|
---|
| 2 | * Kills process identified by `pid` and all its children
|
---|
| 3 | *
|
---|
| 4 | * @param pid
|
---|
| 5 | * @param signal 'SIGTERM' by default
|
---|
| 6 | * @param callback
|
---|
| 7 | */
|
---|
| 8 | declare function treeKill(pid: number, callback?: (error?: Error) => void): void;
|
---|
| 9 | declare function treeKill(pid: number, signal?: string | number, callback?: (error?: Error) => void): void;
|
---|
| 10 |
|
---|
| 11 | declare namespace treeKill {}
|
---|
| 12 |
|
---|
| 13 | export = treeKill;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.