-
Vincent Wan authored
Making binary_version() more generic by routing stderr output of subprocess to stdout, in case the invoked binary prints there. Also adding an extra optional argument to accept a matching pattern. When a pattern is provided, the function can use it to extract the version number using re.search(). Signed-off-by: Vincent Wan <vincent.wan@linaro.org>
d22ef878