-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Still log messages break processable command output #627
Comments
As I understand, the problem relies in
env --bash , bash thinks that that log message is an executable command.
Maybe one of these solutions can help us to prevent that behavior:
|
I tried to use IDEasy/cli/src/main/java/com/devonfw/tools/ide/context/AbstractIdeContext.java Lines 829 to 830 in 7ac8cab
.. && level != IdeLogLevel.INTERACTION
But the end result is the same after executing Am I missing something? |
You should not do that. This code should deactivate all loglevels EXCEPT the Log-Level INFO. BTW: Even smarter would be to move this check to a method that is executed only if the command to run returns |
fixed by changing log-level. |
I have fixed #531 already two times.
It seems that also issue #161 with PR #467 also broke this.
I still do not understand how this happens since I thought my second fix was bullet proof.
Is that output printed with
System.out
or what could I be missing?The text was updated successfully, but these errors were encountered: