summaryrefslogtreecommitdiffstats
path: root/drush-issue2065.patch
diff options
context:
space:
mode:
Diffstat (limited to 'drush-issue2065.patch')
-rw-r--r--drush-issue2065.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/drush-issue2065.patch b/drush-issue2065.patch
new file mode 100644
index 0000000..de8cebf
--- /dev/null
+++ b/drush-issue2065.patch
@@ -0,0 +1,15 @@
+diff --git a/includes/startup.inc b/includes/startup.inc
+index 693fede..fedccbf 100644
+--- a/includes/startup.inc
++++ b/includes/startup.inc
+@@ -326,8 +326,8 @@ function drush_startup($argv) {
+ }
+ }
+
+- // Always use pcntl_exec if it exists.
+- $use_pcntl_exec = function_exists("pcntl_exec");
++ // https://github.com/drush-ops/drush/issues/2065
++ $use_pcntl_exec = FALSE;
+
+ // If we have posix_getppid, then pass in the shell pid so
+ // that 'site-set' et. al. can work correctly.