Skip to main content

STDERR_TAIL_CAP

Constant STDERR_TAIL_CAP 

Source
const STDERR_TAIL_CAP: usize = _ /* 8_192usize */;
Expand description

Upper bound on the drained stderr retained for Error::Process. Large enough for a CLI failure message and its context, small enough that a chatty child can’t pin unbounded memory for the life of the process.