Skip to content

Fixing Scheduler on Windows w/ Spaces in PHP_BINARY Path#130

Open
AndyM84 wants to merge 3 commits intopeppeocchi:masterfrom
AndyM84:master
Open

Fixing Scheduler on Windows w/ Spaces in PHP_BINARY Path#130
AndyM84 wants to merge 3 commits intopeppeocchi:masterfrom
AndyM84:master

Conversation

@AndyM84
Copy link

@AndyM84 AndyM84 commented Jan 6, 2022

Adding some code to catch if running on Windows and the PHP_BINARY path includes spaces. Adds double quotes around the value of $bin so it can run without issues.

Tested as working on Windows 10 with PHP 7.4 and 8.0.

I believe this should also address #129.

Co-authored-by: Marek Bartoš <bartos.developer152@gmail.com>
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