le by running `cmd` in the shell. If the command is not found, or the output does not match `RE_VERSION`, returns None. r