From 076d41797788aa56d6c27651f65a4832964bda6b Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Tue, 4 Feb 2014 14:48:52 +0100 Subject: [PATCH] fix ProcessPipes --- src/Symfony/Component/Process/ProcessPipes.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/Process/ProcessPipes.php b/src/Symfony/Component/Process/ProcessPipes.php index 5185d0a12b7bf..874295b92b889 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'),