diff --git a/src/Symfony/Component/Process/ProcessPipes.php b/src/Symfony/Component/Process/ProcessPipes.php index 5185d0a12b7b..874295b92b88 100644 --- a/src/Symfony/Component/Process/ProcessPipes.php +++ b/src/Symfony/Component/Process/ProcessPipes.php @@ -120,8 +120,8 @@ public function getDescriptors() 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'),