[OE-core] [PATCH] icecc.bbclass: replace os.popen with subprocess.check_output

Burton, Ross ross.burton at intel.com
Tue Jun 14 15:06:30 UTC 2016


On 14 June 2016 at 15:59, Leonardo Sandoval <
leonardo.sandoval.gonzalez at linux.intel.com> wrote:

> Also, now that we switch to subprocess.check_output, I wonder if we need
> to convert it to string (the output of this method) before proceeding.
>

Yeah, check_output under py3 returns byte arrays, so you either need to
convert to string or pass universal_newlines=True.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160614/c5836896/attachment-0002.html>


More information about the Openembedded-core mailing list