[Process] Wrong descriptor mode for stderr

This commit is contained in:
Adrian Rudnik 2011-05-13 03:08:55 +02:00
parent 24216b4ee3
commit 90f5420ada

View File

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