Quellcode durchsuchen

[Process] Wrong descriptor mode for stderr

Adrian Rudnik vor 14 Jahren
Ursprung
Commit
90f5420ada
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/Symfony/Component/Process/Process.php

+ 1 - 1
src/Symfony/Component/Process/Process.php

@@ -100,7 +100,7 @@ class Process
             }
         };
 
-        $descriptors = array(array('pipe', 'r'), array('pipe', 'w'), array('pipe', 'r'));
+        $descriptors = array(array('pipe', 'r'), array('pipe', 'w'), array('pipe', 'a'));
 
         $process = proc_open($this->commandline, $descriptors, $pipes, $this->cwd, $this->env, $this->options);