fixing weird error with drush
I had this error and I solved with this change, maybe is there a better solution ?
PHP Warning: pcntl_exec() has been disabled for security reasons in /srv/www/unionen/vendor/drush/drush/includes/startup.inc on line 415
PHP Stack trace:
PHP 1. {main}() /srv/www/unionen/vendor/drush/drush/drush:0
PHP 2. drush_startup() /srv/www/unionen/vendor/drush/drush/drush:115
PHP 3. pcntl_exec() /srv/www/unionen/vendor/drush/drush/includes/startup.inc:415
PHP Warning: pcntl_get_last_error() has been disabled for security reasons in /srv/www/unionen/vendor/drush/drush/includes/startup.inc on line 417
PHP Stack trace:
PHP 1. {main}() /srv/www/unionen/vendor/drush/drush/drush:0
PHP 2. drush_startup() /srv/www/unionen/vendor/drush/drush/drush:115
PHP 3. pcntl_get_last_error() /srv/www/unionen/vendor/drush/drush/includes/startup.inc:417
PHP Warning: pcntl_strerror() has been disabled for security reasons in /srv/www/unionen/vendor/drush/drush/includes/startup.inc on line 418
PHP Stack trace:
PHP 1. {main}() /srv/www/unionen/vendor/drush/drush/drush:0
PHP 2. drush_startup() /srv/www/unionen/vendor/drush/drush/drush:115
PHP 3. pcntl_strerror() /srv/www/unionen/vendor/drush/drush/includes/startup.inc:418
Error has occurred executing the Drush script found at /srv/www/unionen/vendor/drush/drush/drush.launcher