mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
2ba9ccc1ab
Fixes #15217.
6 lines
177 B
TypeScript
6 lines
177 B
TypeScript
const child = new Deno.Command("deno", {
|
|
args: ["eval", "await new Promise(r => setTimeout(r, 2000))"],
|
|
stdout: "null",
|
|
stderr: "null",
|
|
}).spawn();
|
|
child.kill("SIGTERM");
|