Skip to content
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

Merged
merged 2 commits into from
Nov 29, 2023
Merged

Conversation

me-no-dev
Copy link
Member

Fixes: #8610

@me-no-dev me-no-dev modified the milestones: 2.0.13, 3.0.0 Sep 12, 2023
@VojtechBartoska VojtechBartoska added the Status: Review needed Issue or PR is awaiting review label Sep 27, 2023
Copy link
Collaborator

@SuGlider SuGlider left a 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.

@P-R-O-C-H-Y P-R-O-C-H-Y added Status: Pending Merge Pull Request is ready to be merged and removed Status: Review needed Issue or PR is awaiting review labels Oct 3, 2023
@me-no-dev me-no-dev modified the milestone: 3.0.0 Oct 6, 2023
@VojtechBartoska VojtechBartoska modified the milestones: 3.0.0, 3.0.0-Aplha3 Nov 28, 2023
@me-no-dev me-no-dev merged commit 04d9e33 into release/v2.x Nov 29, 2023
48 checks passed
@me-no-dev me-no-dev deleted the bugfix/rel_path_2.x branch November 29, 2023 10:10
@VojtechBartoska
Copy link
Contributor

@me-no-dev this will be part of 2.0.15 release, right?

@me-no-dev
Copy link
Member Author

if released :) i'll port it over to 3.0.0 too

me-no-dev added a commit that referenced this pull request Nov 29, 2023
me-no-dev added a commit that referenced this pull request Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Pending Merge Pull Request is ready to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants