Implement Deno.kill for windows (#5347)

This commit is contained in:
Ali Hasani 2020-05-17 21:41:24 +04:30 committed by GitHub
parent a054250a2c
commit eddb916883
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 104 additions and 67 deletions

View file

@ -1120,8 +1120,6 @@ declare namespace Deno {
*
* Deno.kill(p.pid, Deno.Signal.SIGINT);
*
* Throws Error (not yet implemented) on Windows
*
* Requires `allow-run` permission. */
export function kill(pid: number, signo: number): void;