Skip to main content

Module result_streams

Module result_streams 

Source
Expand description

Re-readable snapshots of completed command output and a writable stdin record.

Structsยง

CapturedInput
Writable record of input sent to a completed command. Writes after completion change this record only; use ProcessRunner::write_stdin for live input.
CapturedOutput
Captured text that also implements Read. Reading advances a byte cursor; string methods keep working on the complete, unconsumed snapshot.