summaryrefslogtreecommitdiffstats
path: root/drush-issue2065.patch
blob: 90b256d01b71f018dabcf2bd7200ee8c8a540ff4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/includes/startup.inc b/includes/startup.inc
index 693fede..fedccbf 100644
--- a/includes/startup.inc
+++ b/includes/startup.inc
@@ -383,7 +383,7 @@ function drush_startup($argv) {
   }
 
   // Always use pcntl_exec if it exists.
-  $use_pcntl_exec = function_exists("pcntl_exec") && (strpos(ini_get('disable_functions'), 'pcntl_exec') === FALSE);
+  $use_pcntl_exec = FALSE;
 
   // If we have posix_getppid, then pass in the shell pid so
   // that 'site-set' et. al. can work correctly.