rauniorooR
Denoβ€’2y agoβ€’
4 replies
raunioroo

Kill deno process tree

How would you kill a Deno process tree as in, force kill of Deno process and any of it's subprocesses? Deno.killappears to possibly leave subprocesses alive.

Ideally using Deno.ChildProcess API, but I highly suspect it's not possible using the runtime API; I would also be happy with just a linux command I could run along with the PID!

(I'm not that well versed with linux commands and process stuffs, so far I've been using killall deno which definitely works but would be nice to target only a specific process tree)
Was this page helpful?