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

Fix running executables with spaces in their paths in Windows #777

Merged
merged 5 commits into from
Jan 15, 2024

Conversation

asafgabai
Copy link
Contributor

@asafgabai asafgabai commented Jan 4, 2024

  • All tests passed. If this feature is not already covered by the tests, I added new tests.

When executing a command on Windows, add its directory path to the Path environment variable and execute it using its name. We do that to avoid passing an executable path that contains spaces, which causes parsing issues in Windows CMD.

…th environment variable and execute it using its name. We do that to avoid passing an executable path that contains spaces, which cause parsing issues in Windows CMD.
@asafgabai asafgabai added bug Create a report to help us improve safe to test Approve running integration tests on a pull request labels Jan 4, 2024
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Jan 4, 2024
…th environment variable and execute it using its name. We do that to avoid passing an executable path that contains spaces, which cause parsing issues in Windows CMD.
@asafgabai asafgabai added the safe to test Approve running integration tests on a pull request label Jan 4, 2024
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Jan 4, 2024
@asafgabai asafgabai marked this pull request as ready for review January 4, 2024 16:18
@asafgabai asafgabai added the safe to test Approve running integration tests on a pull request label Jan 14, 2024
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Jan 14, 2024
@asafgabai asafgabai added the safe to test Approve running integration tests on a pull request label Jan 15, 2024
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Jan 15, 2024
@asafgabai asafgabai merged commit 81bfd3a into jfrog:master Jan 15, 2024
29 of 30 checks passed
@asafgabai asafgabai deleted the add-executables-to-path-in-windows branch January 15, 2024 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Create a report to help us improve
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants