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

Suggest ext-pcntl in composer.json #1652

Merged
merged 1 commit into from
Oct 1, 2015

Conversation

jonhattan
Copy link
Member

Since #1595 we rely on pcntl_exec(). Some php binaries are not compiled with it (ex https://github.com/docker-library/php). Adding an explicit dependency in composer.json helps identifying the problem.

@weitzman
Copy link
Member

weitzman commented Oct 1, 2015

Well, we only require it if you actually use the finder. You are welcome to use the wrapper or launcher directly AFAIK. So maybe this should be 'suggest'? I'm concerned that fixing this will be a hassle for people and they really dont have to.

@jonhattan
Copy link
Member Author

Note that since finder is the default script, the first experience after updating to latest is a "function not found" error.

In this scenario, 'suggest' is helpful the same degree. I'll change the commit and merge.

jonhattan added a commit that referenced this pull request Oct 1, 2015
Suggest ext-pcntl in composer.json. Needed by drush finder script.
@jonhattan jonhattan merged commit ba6158d into drush-ops:master Oct 1, 2015
@jonhattan jonhattan changed the title Require ext-pcntl in composer.json Suggest ext-pcntl in composer.json Oct 1, 2015
@skyred
Copy link

skyred commented Oct 2, 2015

Just run into this problem as all my infrastructure is glued with Docker libraries. It looks like I should wait for the fall back solution mentioned in #1595 (comment) ?

Currently, Docker official library doesn't support Composer docker-library/drupal#7

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.

3 participants