Skip to main content

run_prepared_with_input_limit

Function run_prepared_with_input_limit 

Source
pub fn run_prepared_with_input_limit(
    command: Command,
    input: Option<&[u8]>,
    input_limit: usize,
    stdout_limit: usize,
    stderr_limit: usize,
    timeout: Duration,
) -> Result<Output, Error>
Expand description

Run a prepared command with caller-selected input and stream ceilings, for bounded bulk payloads such as print documents. Most callers want run_prepared.