8000 fix ProcessPipes · symfony/symfony@076d417 · GitHub
[go: up one dir, main page]

Skip to content

Commit 076d417

Browse files
fix ProcessPipes
1 parent bea1537 commit 076d417

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)
0