Przeglądaj źródła

[Process] Wrong descriptor mode for stderr

Adrian Rudnik 14 lat temu
rodzic
commit
90f5420ada
1 zmienionych plików z 1 dodań i 1 usunięć
  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);