cpb- / yocto-cooker

Meta buildtool for Yocto Project based Linux embedded systems
GNU General Public License v2.0
43 stars 22 forks source link

Don't use `capture_output` param with old version of Python. #118

Closed cpb- closed 2 years ago

cpb- commented 2 years ago

The patch was checked with Python 3.6 on Centos 8 but we can't add an automatic test.

pboettch commented 2 years ago

No, sorry. There has to be a better way to do it. Let me check.

pboettch commented 2 years ago

Maybe we can use subprocess.check_output() instead of run(). https://docs.python.org/3/library/subprocess.html#subprocess.check_output