fix ProcessPipes

This commit is contained in:
Nicolas Grekas 2014-02-04 14:48:52 +01:00
parent bea1537964
commit 076d417977

View File

@ -120,8 +120,8 @@ class ProcessPipes
array('file', '/dev/tty', 'w'),
array('file', '/dev/tty', 'w'),
);
} elseif ($this->ptyMode && Porcess::isPtySupported()) {
$descriptors = array(
} elseif ($this->ptyMode && Process::isPtySupported()) {
return array(
array('pty'),
array('pty'),
array('pty'),