-
Notifications
You must be signed in to change notification settings - Fork 9.4k
use PHP_BINARY in TestFramework Application to trigger sub-process #3440
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
Conversation
|
+1 from my end :) @davidalger: Can you please restart the failed travis build? |
|
@davidalger CLA accepted. |
|
@davidalger: We're using PHP_BINARY with success in Magerun since some time. So I can say from practice it's working well. And in M2 you don't have any compatibility hurdles b/c of the PHP versions (in Magerun we also support older versions for M1). |
|
Some devs use windows as their local dev environment, and PHP_BINARY has issues on Windows OS. Can you confirm if this works on windows? |
|
@mazhalai: Windows is not part of the Magento2 system-requirements. Could you elaborate on these PHP_BINARY issues on the Windows OS? |
|
@tkn98 yes, windows is not part of system-requirements, however many devs(also our internal devs) still use it locally (only options are mac and windows, neither are supported according to system-requirements), which also includes running tests locally. I don't recall exact issues, but there were some issues on certain WAMP flavors, maybe we can check again. |
|
@mazhalai: Yes please do so if you require Windows and it's not part. Otherwise it would be a pity to degrade the system for the many, many other users that are using the software on base of the system-requirements. I perhaps should add that I do not know about any problems with that constant on the Windows OS. Just saying that I don't want to talk away any issues, I just do not see them. |
|
Internal ticket MAGETWO-49929. |
…o trigger sub-process #3440 - static fixes
…o trigger sub-process #3440 - static fixes
[Plankton] CHANGELOG.md for 2.1.16 Release
Right now the sub process command uses php to invoke sub-processes.
That may not be the correct php binary to use.
Like if you have multiple php binaries available.
This pull request uses the PHP_BINARY Constant to use the same php binary the parent process was triggered with