quaint-telephone-89068
11/05/2022, 1:32 AM$ ./pants version > version.stdout 2> version.stderr
$ wc -l version.stdout
1 version.stdout
$ wc -l version.stderr
0 version.stderr
$ # Makes sense, version emits to stdout
$
$ ./pants version > version.stdout
$ wc -l version.stdout
0 version.stdout
$ wc -l version.stderr
0 version.stderr
$ # What? Where did the output go?
This is due to #16822, although it is unclear why. Reverting that change fixes this.
Note that it doesn't reproduce when running pants in an integration test.
pantsbuild/pantsuser
11/05/2022, 7:33 AM