https://pantsbuild.org/ logo
#general
Title
# general
f

fancy-queen-20734

02/20/2019, 7:39 PM
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

aloof-angle-91616

02/20/2019, 7:40 PM
i always want an application to only silence stdout when a
--quiet
option is passed, but some go the extra mile
👍 1
f

fancy-queen-20734

02/20/2019, 7:41 PM
one thing is that hermetic will provide the error, while subprocess/nailgun don’t
w

witty-crayon-22786

02/20/2019, 7:41 PM
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

aloof-angle-91616

02/20/2019, 7:42 PM
also the bottom of https://github.com/pantsbuild/pants/issues/7071 has some thoughts on redirecting different output streams
f

fancy-queen-20734

02/20/2019, 7:46 PM
also hermetic error messages end up on stderr instead of stdout apparently
w

witty-crayon-22786

02/20/2019, 8:07 PM
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

fancy-queen-20734

02/20/2019, 8:13 PM
ah
as, in, different workunits may choose different output channels depending on their labels?
5 Views