DenoDDeno
Powered by
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.kill
Deno.kill
appears to possibly leave subprocesses alive.

Ideally using
Deno.ChildProcess
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
killall deno
which definitely works but would be nice to target only a specific process tree)
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Kill Deno.Command
DNADDNA / help
2y ago
deno compile tree-shaking
subbedSsubbed / help
10mo ago
Deno process watcher. How?
BairdyBBairdy / help
4y ago