MCPcopy Create free account
hub / github.com/awslabs/llrt / kill

Method kill

types/process.d.ts:223–223  ·  view source on GitHub ↗

* The `process.kill()` method sends the `signal` to the process identified by `pid`. * * Signal names are strings such as 'SIGINT' or 'SIGHUP'. See Signal Events and kill(2) * for more information. * * This method will throw an error if the target pid does not exist. As a sp

(pid: number, signal?: QuickJS.Signals | number)

Source from the content-addressed store, hash-verified

221 *
222 * @since v0.1.31
223 * @param pid A process ID
224 * @param signal The signal to send, either as a string or number. Default: 'SIGTERM'.
225 */
226 kill(pid: number, signal?: QuickJS.Signals | number): void;

Callers 4

spawnWorkerMethod · 0.65
handleWorkerCompletedMethod · 0.65
tickMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected