Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Drush bash/sh errors #962

Closed
paulsheldrake opened this issue Nov 2, 2016 · 1 comment
Closed

Drush bash/sh errors #962

paulsheldrake opened this issue Nov 2, 2016 · 1 comment

Comments

@paulsheldrake
Copy link

Getting this error when running drush

[vagrant@ico web]$ drush cc all
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `BASH_FUNC_module'
 [success] 'all' cache was cleared.

Running centos7 on box 1.1.3

@geerlingguy
Copy link
Owner

Looks like it's this issue: drush-ops/drush#2065

I've just merged a fix in the PHP role which will allow you to fix this by adding the following to your config.yml (if you run in to this error):

php_disable_functions:
  - pcntl_exec

Then run vagrant provision to add that into the PHP configuration. Note that it won't be merged/ready in Drupal VM master until after this issue is closed out (I'm still running some tests).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants