-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Support relative paths in UNIX search PATH #8622
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It sounds good. Using absolute path for bash
increases security.
Anyway, it doesn't affect Windows.
We may think about something similar for cmd.exe
I'll test it here as well using Win ENV VAR ComSpec
UPDATE: it seems that Arduino CLI doesn't accept ENV VARs.
Other platforms use some scripts or tools, like busybox
to overcome it.
cmd.exe
will be found in WIN PATH. No action for it at this time.
@me-no-dev this will be part of 2.0.15 release, right? |
if released :) i'll port it over to 3.0.0 too |
Fixes: #8610