Skip to main content

record_with_output

Function record_with_output 

Source
pub fn record_with_output(command: Command, dir: &Path) -> Result<Output, Error>
Expand description

Records and captures output. Keep the directory’s backing resources alive through any cleanup checkpoint, as for record_to.

The ptrace session runs on a tracer thread, so the calling thread needs no particular stack; see run.