aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mlog.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2020-02-06 11:26:36 +0530
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2020-02-16 00:26:08 +0530
commit11253a1c3aa3bb8208cae0f04792b26db9b99601 (patch)
tree9f48d85cbf1394a059f7569310dc45e4fefc4422 /mesonbuild/mlog.py
parent8b60fb709c4aa6b9b00edd17614ca8ebef1c063d (diff)
downloadmeson-11253a1c3aa3bb8208cae0f04792b26db9b99601.zip
meson-11253a1c3aa3bb8208cae0f04792b26db9b99601.tar.gz
meson-11253a1c3aa3bb8208cae0f04792b26db9b99601.tar.bz2
mesonlib: Set stdin to DEVNULL for all programs run by us
Otherwise there's a high likelihood that some program run by us will mess up the console settings and break ANSI colors. F.ex., running `uname` in the Visual Studio 2019 x86 developer prompt using `run_command()` does this.
Diffstat (limited to 'mesonbuild/mlog.py')
0 files changed, 0 insertions, 0 deletions