From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mail.openembedded.org (Postfix) with ESMTP id 7474E6AC00 for ; Thu, 29 Sep 2016 21:35:31 +0000 (UTC) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP; 29 Sep 2016 14:35:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,417,1473145200"; d="scan'208";a="885231394" Received: from pequod.jf.intel.com ([10.7.201.50]) by orsmga003.jf.intel.com with ESMTP; 29 Sep 2016 14:35:07 -0700 From: Stephano Cetola To: openembedded-core@lists.openembedded.org Date: Thu, 29 Sep 2016 14:34:02 -0700 Message-Id: <20160929213405.27018-1-stephano.cetola@linux.intel.com> X-Mailer: git-send-email 2.10.0 Subject: [PATCH 0/3] subprocess: cleanup subprocess calls X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Sep 2016 21:35:32 -0000 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