diff options
Diffstat (limited to 'mesonbuild')
-rwxr-xr-x | mesonbuild/msubprojects.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mesonbuild/msubprojects.py b/mesonbuild/msubprojects.py index bc6a6ce..eeeb9c6 100755 --- a/mesonbuild/msubprojects.py +++ b/mesonbuild/msubprojects.py @@ -41,6 +41,10 @@ def update_file(wrap, repo_dir, options): def git(cmd, workingdir): return subprocess.check_output(['git', '-C', workingdir] + cmd, + # Redirect stdin to DEVNULL otherwise git + # messes up the console and ANSI colors stop + # working on Windows. + stdin=subprocess.DEVNULL, stderr=subprocess.STDOUT).decode() def git_show(repo_dir): |