Skip to main content

Module run

Module run 

Source
Expand description

Running a verb’s binary: the hand-off, and the version probe --list makes.

Constants§

VERSION_PATIENCE 🔒
How long --list waits for one binary to answer --version. A verb that starts doing work instead of answering is killed, so one stray binary on PATH cannot hang the listing.

Functions§

command 🔒
The command as a verb receives it: binary argv…, this process’s environment minus every credential variable, and nothing added.
exec
Replaces this process with binary argv….
version_of
What binary --version prints on its first line, if it answers with exit 0 inside VERSION_PATIENCE.