summaryrefslogtreecommitdiffstats
path: root/drush-issue2065.patch
blob: de8cebf92ae55330e5af1d33c803399c8abb5a3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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.