Преглед на файлове

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);