Skip to content

Commit bcb5239

Browse files
committed
bug symfony#10199 fix ProcessPipes (nicolas-grekas)
This PR was merged into the 2.5-dev branch. Discussion ---------- fix ProcessPipes Commits ------- 076d417 fix ProcessPipes
2 parents 22970e0 + 076d417 commit bcb5239

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Process/ProcessPipes.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ public function getDescriptors()
120120
array('file', '/dev/tty', 'w'),
121121
array('file', '/dev/tty', 'w'),
122122
);
123-
} elseif ($this->ptyMode && Porcess::isPtySupported()) {
124-
$descriptors = array(
123+
} elseif ($this->ptyMode && Process::isPtySupported()) {
124+
return array(
125125
array('pty'),
126126
array('pty'),
127127
array('pty'),

0 commit comments

Comments
 (0)