diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2023-05-11 13:53:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-11 14:53:45 +0200 |
commit | 2ba9ccc1ab25e5c631afcbb12b53f4545ca7f750 (patch) | |
tree | 38edbbacb6682b178e0356bf38fbb1f91cc5fe93 /cli/tests/testdata/spawn_kill_permissions.ts | |
parent | 20c42286f88d861192f35d272a645d8ab6f15be8 (diff) |
fix(runtime): `ChildProcess::kill()` doesn't require additional perms (#15339)
Fixes #15217.
Diffstat (limited to 'cli/tests/testdata/spawn_kill_permissions.ts')
-rw-r--r-- | cli/tests/testdata/spawn_kill_permissions.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/testdata/spawn_kill_permissions.ts b/cli/tests/testdata/spawn_kill_permissions.ts new file mode 100644 index 000000000..e0c1b7bfd --- /dev/null +++ b/cli/tests/testdata/spawn_kill_permissions.ts @@ -0,0 +1,6 @@ +const child = new Deno.Command("deno", { + args: ["eval", "await new Promise(r => setTimeout(r, 2000))"], + stdout: "null", + stderr: "null", +}).spawn(); +child.kill("SIGTERM"); |