Function hashdeep_compare::main_impl::main_io_wrapper [−][src]
pub fn main_io_wrapper(
args: &[&str],
stdout: Box<dyn Write>,
stderr: Box<dyn Write>
) -> Result<i32, Box<dyn Error>>
Expand description
Specifies program arguments and (re)direction of stdout/stderr, then runs the program
Returns the program’s exit code
This is called by
- main() in normal execution
- integration.rs when the integration_test_coverage feature is enabled