gnodet commented on code in PR #2082:
URL: https://github.com/apache/maven/pull/2082#discussion_r1939321451
##########
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java:
##########
@@ -305,16 +307,29 @@ protected BuildEventListener
doDetermineBuildEventListener(C context) {
}
protected void createTerminal(C context) {
+ boolean stdStreamsRedirected = System.console() == null
+ || context.invokerRequest.in().isPresent()
+ || context.invokerRequest.out().isPresent()
+ || context.invokerRequest.err().isPresent();
+ context.invokerRequest.err().ifPresent(err -> {
Review Comment:
Not sure why we should mess with `System.err` here
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]