Skip to main content

spawn_prepared_observing_stderr

Function spawn_prepared_observing_stderr 

Source
pub fn spawn_prepared_observing_stderr(
    command: Command,
    input: Option<&[u8]>,
    output_limit: usize,
    timeout: Duration,
) -> Result<AsyncCommand, Error>
Expand description

Spawn with a bounded nonblocking copy of the owned stderr capture.

Up to sixteen 4096-byte chunks await observation; a slow observer disables this informational queue instead of blocking the child or the capture readers. Output bytes, limits, cancellation and process-tree ownership are unchanged.