pub fn capture(exec: Exec) -> Result<CaptureData, CommandError>
Expand description

Return a CaptureData result for a subprocess’s stdout and stderr.