Fixed wrong descriptor mode for stderr

This commit is contained in:
Adrian Rudnik 2011-05-13 02:22:14 +02:00
parent 8f426c0c77
commit 24216b4ee3

View File

@ -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); $process = proc_open($this->commandline, $descriptors, $pipes, $this->cwd, $this->env, $this->options);