diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2017-03-27 14:43:45 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2017-03-27 15:09:18 +0530 |
commit | fa09b122b00848c685d76ec047c813235c1dfdad (patch) | |
tree | bea585d2310601fad87e7c89b6c72010a607260d /mesonbuild/wrap/wrap.py | |
parent | 001cf52c3a10aa4d2b0db5ec008fb5d2160ce23e (diff) | |
download | meson-fa09b122b00848c685d76ec047c813235c1dfdad.zip meson-fa09b122b00848c685d76ec047c813235c1dfdad.tar.gz meson-fa09b122b00848c685d76ec047c813235c1dfdad.tar.bz2 |
wrap: Also capture stderr while running quiet_git()
We want to return the stderr if the command failed.
Diffstat (limited to 'mesonbuild/wrap/wrap.py')
-rw-r--r-- | mesonbuild/wrap/wrap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/wrap/wrap.py b/mesonbuild/wrap/wrap.py index fcacc16..67e4700 100644 --- a/mesonbuild/wrap/wrap.py +++ b/mesonbuild/wrap/wrap.py @@ -39,7 +39,7 @@ def build_ssl_context(): return ctx def quiet_git(cmd): - pc = subprocess.Popen(['git'] + cmd, stdout=subprocess.PIPE) + pc = subprocess.Popen(['git'] + cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) out, err = pc.communicate() if pc.returncode != 0: return False, err |