Would you expect pants to squash compiler error me...
# general
f
Would you expect pants to squash compiler error messages when
-q
has been passed? I mean, the command fails, but doesn’t have the error?
a
i always want an application to only silence stdout when a
--quiet
option is passed, but some go the extra mile
👍 1
f
one thing is that hermetic will provide the error, while subprocess/nailgun don’t
w
there has been some past discussion of this, and https://github.com/pantsbuild/pants/issues/5646 is open about it.
i can't find a good link, but i think that "quiet unless we failed" is a thing that is missing.
👍 1
a
also the bottom of https://github.com/pantsbuild/pants/issues/7071 has some thoughts on redirecting different output streams
f
also hermetic error messages end up on stderr instead of stdout apparently
w
I think that they'll end up where ever you put them... the helper function on context makes a choice there, afaik
@fancy-queen-20734: ^
f
ah
as, in, different workunits may choose different output channels depending on their labels?