Liking cljdoc? Tell your friends :D

hive-system.process.tree

Destroying a process together with everything it spawned.

Killing only the direct child leaves grandchildren alive, holding the pipes and whatever resource the kill was meant to reclaim — a timeout that reaps just the shell reclaims nothing.

Leaf namespace: java.lang only. No hive-weave, so it loads under Babashka.

Destroying a process together with everything it spawned.

Killing only the direct child leaves grandchildren alive, holding the pipes
and whatever resource the kill was meant to reclaim — a timeout that reaps
just the shell reclaims nothing.

Leaf namespace: java.lang only. No hive-weave, so it loads under Babashka.
raw docstring

descendant-handlesclj

(descendant-handles proc)

Every live descendant of proc, as a seq of ProcessHandle.

Every live descendant of `proc`, as a seq of ProcessHandle.
sourceraw docstring

destroy-tree!clj

(destroy-tree! proc)
(destroy-tree! proc force?)

Destroy proc and every process it spawned, descendants first so a parent cannot respawn a child that was already reaped.

force? selects SIGKILL (.destroyForcibly) over SIGTERM (.destroy): a deadline kill forces, a :term-style signal asks. Returns nil.

Destroy `proc` and every process it spawned, descendants first so a parent
cannot respawn a child that was already reaped.

`force?` selects SIGKILL (.destroyForcibly) over SIGTERM (.destroy): a
deadline kill forces, a :term-style signal asks. Returns nil.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close