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

Fixes: Can't find parser binary on windows when path has spaces #143

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

AnouarTouati
Copy link
Contributor

@AnouarTouati AnouarTouati commented Dec 30, 2024

Fixes #135 .
The shell interprets spaces as delimiter except when the path is surrounded by double quotes.

Escaping the spaces with Line 34 does not work.

FYI: I also I had to remove the PHP_PARSER_BINARY_PATH from env at launch.json to be able to work on this on windows since the priority is to the .env.PHP_PARSER_BINARY_PATH not the generated path.

I have not tested this on other platforms so I dont know if it broke something.

@joetannenbaum
Copy link
Collaborator

Thank you!

@joetannenbaum joetannenbaum merged commit fe8691e into laravel:main Jan 3, 2025
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.

[Bug]: Path Error
2 participants