Преглед изворни кода

Fixed wrong descriptor mode for stderr

Adrian Rudnik пре 14 година
родитељ
комит
24216b4ee3
1 измењених фајлова са 1 додато и 1 уклоњено
  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', 'w'));
+        $descriptors = array(array('pipe', 'r'), array('pipe', 'w'), array('pipe', 'r'));
 
         $process = proc_open($this->commandline, $descriptors, $pipes, $this->cwd, $this->env, $this->options);