pub fn run_captured(
files: &[(PathBuf, TaskFile)],
name: &str,
args: &[String],
cwd: &Path,
) -> Result<Output, RunError>Expand description
Like run, but captured: run name and its Requires: chain across the
layered files with output aggregated across steps into a single
std::process::Output (its status is the failing step’s, or the last on
success). For an embedder (a TUI, an editor) that wants the text rather than a
stream. Also trusted: no agent gate.