summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kconfigtest.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/kconfigtest.py b/kconfigtest.py
index 9545d47..b955aed 100644
--- a/kconfigtest.py
+++ b/kconfigtest.py
@@ -643,11 +643,10 @@ def test_defconfig(conf):
# Helper functions
#
+devnull = open(os.devnull, "w")
+
def shell(cmd):
- subprocess.Popen(cmd,
- shell = True,
- stdout = subprocess.PIPE,
- stderr = subprocess.PIPE).communicate()
+ subprocess.call(cmd, shell = True, stdout = devnull, stderr = devnull)
def rm_configs():
"""Delete any old ".config" (generated by the C implementation) and