-
Notifications
You must be signed in to change notification settings - Fork 101
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
devon.bat stopped adding PATH #1066
Comments
I can already confirm:
|
The bug was already in |
It seems that PR #975 broke it and we never properly tested that and also our nightly windows tests do not reveal the error. |
As a first analysis, I hacked this block in
Result:
I hate CMD and |
I have removed the delayed expansion and found a possible solution to fix this issue. The native problem relied on the
We used the delayed expansion to get the correct value for this variable, as the variable was previously empty but there were entries in the user path. I find a solution with an external label. Example:
Result:
The PATH is empty and the variable called in the external label is correct. So with an external label we should fix this error without using delay expansion. Check the commits in PR https://github.com/devonfw/ide/pull/1067/files |
On windows when using devon.bat (e.g. typing devon in CMD) it stopped setting the PATH properly.
This is a severe bug and it breaks the entire *.bat support of devonfw-ide.
The text was updated successfully, but these errors were encountered: