This is the beginning of an effort to move toward a unified way of using the subprocess module. The end goal is somday create a fork of the subprocess.run command intro'd in python 3.5.
The biggest hurdle in these efforts is in testing some of the more obscure code paths that are touched when changing these subprocess calls. With more time, many of the Popen calls that still exist could be moved to either check_output or sub.run. Stephano Cetola (3): subprocess: remove strings and migrate to direct arrays utils.py: gut python 2 commands in favor of subprocess.run subprocess: remove Popen in favor of check_output meta/classes/buildstats.bbclass | 6 ++++- meta/classes/spdx.bbclass | 11 ++++---- meta/lib/oe/distro_check.py | 2 +- meta/lib/oe/package.py | 13 ++++----- meta/lib/oe/package_manager.py | 59 ++++++++++++++++++++--------------------- meta/lib/oe/utils.py | 11 +++----- 6 files changed, 51 insertions(+), 51 deletions(-) -- 2.10.0 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
