diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2017-04-13 23:54:42 +0300 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-04-13 23:54:42 +0300 |
| commit | f0a077e55b1792ea67e1df4d747476bdf5f40eec (patch) | |
| tree | cee37c3d41b3f68cce6cbd679894e479db84c89c | |
| parent | 630d7a517593dece863d9134401c73d7b461c32d (diff) | |
| parent | ca894a24fca452e5aa982e1fc5dc63117c3e3d71 (diff) | |
| download | meson-f0a077e55b1792ea67e1df4d747476bdf5f40eec.tar.gz | |
Don't close fds when executing programs
| -rw-r--r-- | authors.txt | 1 | ||||
| -rw-r--r-- | mesonbuild/mesonlib.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/authors.txt b/authors.txt index dc2e617ae..9b2ea7269 100644 --- a/authors.txt +++ b/authors.txt @@ -80,3 +80,4 @@ Jon Turney Wade Berrier Richard Hughes Rafael Fontenelle +Michael Olbrich diff --git a/mesonbuild/mesonlib.py b/mesonbuild/mesonlib.py index 5377d8e8f..0a8478b95 100644 --- a/mesonbuild/mesonlib.py +++ b/mesonbuild/mesonlib.py @@ -504,6 +504,7 @@ def expand_arguments(args): def Popen_safe(args, write=None, stderr=subprocess.PIPE, **kwargs): p = subprocess.Popen(args, universal_newlines=True, + close_fds=False, stdout=subprocess.PIPE, stderr=stderr, **kwargs) o, e = p.communicate(write) |
