pub fn record_to(command: Command, dir: &Path) -> Result<ExitStatus, Error>Expand description
Records to an existing directory. The caller must keep its backing resources
alive through any HermitCleanupUnconfirmed recovery. HermitData::record
owns its temporary recording directory inside the retained operation.
The ptrace session runs on a tracer thread, so the calling thread needs no
particular stack; see run.