diff options
Diffstat (limited to 'cli/js/ops/process.ts')
-rw-r--r-- | cli/js/ops/process.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/js/ops/process.ts b/cli/js/ops/process.ts index 39c6eb8b7..fcfa7b9f5 100644 --- a/cli/js/ops/process.ts +++ b/cli/js/ops/process.ts @@ -1,8 +1,12 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { sendSync, sendAsync } from "./dispatch_json.ts"; import { assert } from "../util.ts"; +import { build } from "../build.ts"; export function kill(pid: number, signo: number): void { + if (build.os === "win") { + throw new Error("Not yet implemented"); + } sendSync("op_kill", { pid, signo }); } |