mirror of
https://github.com/denoland/deno.git
synced 2024-11-23 15:16:54 -05:00
5c349039b8
We don't need to use the `deno` command here to test kill permissions and it's awkward to get right without passing `-A`. `cat` works, but for platforms other than windows. This test should have plenty of coverage on other platforms.
6 lines
126 B
TypeScript
6 lines
126 B
TypeScript
const child = new Deno.Command("cat", {
|
|
args: ["-"],
|
|
stdout: "null",
|
|
stderr: "null",
|
|
}).spawn();
|
|
child.kill("SIGTERM");
|