-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
CRM-21564: Change from using exec to WP_CLI::Launch #119
Conversation
exec does not seem to be available on all systems. Also makes the code more consistent for running external processes.
@TBSliver This looks like a good improvement. Thank you for the patch. I am away, but will test next week. It would be great if you can log an issue in our Jira at https://issues.civicrm.org so we can track this in the changelog as well. |
@kcristiano have just signed up for a Jira account (well, a CiviCRM account atleast) but have to wait for authorisation for it... So cant create a ticket for this, or the other issue I pushed (#120) :( |
Hi @TBSliver, your account is now active. |
Thanks @TBSliver I have tested this and it works. This looks ready to merge once we have a JIRA issue to reference. |
Jesus I sometimes hate Jira ticket creation... thats some epic form. @kcristiano https://issues.civicrm.org/jira/browse/CRM-21564 |
@kcristiano modified the title a while ago, hope this can be merged soon :) |
@totten any chance you could give this a look and merge? This is an improvement we should have as soon as practical |
@totten Any chance that this can get merged soon, as its now missed atleast 3 patch versions of Civi... and means that upgrades doesnt work on some deployments... |
@totten I agree with @TBSliver - with the caveat that the WPCLI docs suggest running the command through |
Merging based on positive reviews and feedback. Reading the code and referring to the WP_CLI documentation this looks like a sensible change. |
exec does not seem to be available on all systems. Also makes the code
more consistent for running external processes.
This was discussed in the CiviCRM chat in the wordpress channel about a month ago, have finally got around to pushing this PR