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

add quotes around binary path #655

Merged
merged 5 commits into from
Sep 28, 2023
Merged

Conversation

ElRochito
Copy link
Contributor

@ElRochito ElRochito commented Aug 17, 2023

Q A
Bug fix? yes
New feature? no
Fixed tickets #644

This PR allows to escape binary path where php binary like this :
/Users/<username>/Library/Application Support/Herd/bin/php82

We have a space between Application and Support and without quotes, Process stop at /Users/<username>/Library/Application and can't find php executable

@ElRochito ElRochito closed this Aug 18, 2023
@ElRochito ElRochito reopened this Aug 18, 2023
@ElRochito
Copy link
Contributor Author

@nunomaduro the suggested solution is right for you ?

Copy link
Collaborator

@cmgmyr cmgmyr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ElRochito thank you for your contribution, but unfortunately, the proposed solution will not work. The Str helper is only available when the dev dependencies are installed, which isn't always the case in production environments.

@ElRochito
Copy link
Contributor Author

ElRochito commented Sep 14, 2023

@cmgmyr indeed, I fixed it

Copy link
Collaborator

@cmgmyr cmgmyr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@cmgmyr cmgmyr merged commit 1bccb53 into nunomaduro:master Sep 28, 2023
43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants