You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
new-run doesn't suppress its own stdout when being invoked as part of a pipe #5595
Edit: oh wait, I did -v 0 and not -v0 (the syntax btw is cabal new-run target -v0 -- something > data)
I still think this should be automatic. A program can detect whether it's being invoked as part of a "pipe". Most command line programs do that (e.g. git).
Activity
phadej commentedon Sep 27, 2018
@hasufell, have you tried
cabal new-run -v0 target -- something > datahasufell commentedon Sep 27, 2018
Yes, didn't change anything
Edit: oh wait, I did
-v 0and not-v0(the syntax btw iscabal new-run target -v0 -- something > data)I still think this should be automatic. A program can detect whether it's being invoked as part of a "pipe". Most command line programs do that (e.g. git).
typedrat commentedon Oct 9, 2018
Honestly, I think that some of that information should be going to stderr instead.
23Skidoo commentedon Oct 15, 2018
Related: #4789.
ulysses4ever commentedon Aug 17, 2022
Should this be closed as superseded by #7790?