Module garden::cmd

source ·
Expand description

Command utilities

Functions

Return a CaptureData result for a subprocess’s stdout and stderr.
Return a CaptureData result for a subprocess’s stdout.
Return the current executable path.
Return a subprocess::Exec for a command.
Run a command in the specified tree context. Parameters:
Return a subprocess::Exec that runs a command in the specified directory.
Convert an exit status to Result<(), GardenError>.
Return a subprocess::Exec instance from a command vector.
Extract the return status from subprocess::Resultsubprocess::ExitStatus.
Take a subprocess capture and return a string without trailing whitespace.