pub fn validate_process_input( argv: &[String], environment: &BTreeMap<String, String>, ) -> Result<()>