Error messages are not printed if you redirect stdout
To Reproduce
0$ :> meson.build
0$ meson > /dev/null
1$ meson
ERROR: Must specify at least one directory name.
1$
Expected behavior
standard output must be used only for logging, but error messages should be printed to stderr.
system parameters
$ meson --version
0.61.3
0$ uname -a
Darwin pancakes-MacBook-Pro-2.local 21.6.0 Darwin Kernel Version 21.6.0: Sat Jun 18 17:07:22 PDT 2022; root:xnu-8020.140.41~1/RELEASE_ARM64_T6000 arm64
0$
Describe the bug
Error messages are not printed if you redirect stdout
To Reproduce
Expected behavior
standard output must be used only for logging, but error messages should be printed to stderr.
system parameters