Skip to main content

run_prepared_with_stdin

Function run_prepared_with_stdin 

Source
pub fn run_prepared_with_stdin(
    command: Command,
    file: File,
    output_limit: usize,
    timeout: Duration,
) -> Result<Output, Error>
Expand description

Run a prepared command reading file as its standard input: a handle the caller holds (a file the person chose) given to the program as it is, rather than a path it would open itself.