Creates a validator that ensures the process exited with one of the allowed exit codes.
public static IProcessResultValidator<ProcessResult> ExitCodeIsOneOf(params int[] exitCodes)
The set of permitted exit codes.