diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2012-12-04 17:26:18 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2012-12-04 17:26:18 +0100 |
| commit | 826ae5a27f34de849e4138dcf094dd6631863eca (patch) | |
| tree | d145d23c7fc494ac937f0fe26073a5264293b169 | |
| parent | 6a570e624e2411ccaf69be7217b1ee961af383f7 (diff) | |
Use communicate() instead of wait() with Popen.
No good reason not to do this, and it prevents a problem where the test
suite will open too many file descriptors with PyPy.
| -rw-r--r-- | kconfigtest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kconfigtest.py b/kconfigtest.py index 0c994fc..f3154c0 100644 --- a/kconfigtest.py +++ b/kconfigtest.py @@ -445,7 +445,7 @@ def shell(cmd): subprocess.Popen(cmd, shell = True, stdout = subprocess.PIPE, - stderr = subprocess.PIPE).wait() + stderr = subprocess.PIPE).communicate() def rm_configs(): """Delete any old ".config" (generated by the C implementation) and |
