diff options
author | Kevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com> | 2019-04-21 18:26:56 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-04-21 21:26:56 -0400 |
commit | 1d4b92ac85d8c850270ca859f928404c72c0a49a (patch) | |
tree | 2f45ea65a3a3c5879fe7b16cacfd5624d86764cd /js/deno.ts | |
parent | 9dfebbc9496138efbeedc431068f41662c780f3e (diff) |
Add Deno.kill(pid, signo) and process.kill(signo) (Unix only) (#2177)
Diffstat (limited to 'js/deno.ts')
-rw-r--r-- | js/deno.ts | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/js/deno.ts b/js/deno.ts index 51cc0791a..46f018afc 100644 --- a/js/deno.ts +++ b/js/deno.ts @@ -68,7 +68,14 @@ export { FileInfo } from "./file_info"; export { connect, dial, listen, Listener, Conn } from "./net"; export { metrics, Metrics } from "./metrics"; export { resources } from "./resources"; -export { run, RunOptions, Process, ProcessStatus } from "./process"; +export { + kill, + run, + RunOptions, + Process, + ProcessStatus, + Signal +} from "./process"; export { inspect } from "./console"; export { build, platform, OperatingSystem, Arch } from "./build"; export { version } from "./version"; |