diff --git a/src/Symfony/Component/Console/Application.php b/src/Symfony/Component/Console/Application.php index ff26eeb12b..1381d5f394 100644 --- a/src/Symfony/Component/Console/Application.php +++ b/src/Symfony/Component/Console/Application.php @@ -171,7 +171,7 @@ class Application if (function_exists('posix_isatty') && $this->getHelperSet()->has('dialog')) { $inputStream = $this->getHelperSet()->get('dialog')->getInputStream(); - if (!posix_isatty($inputStream)) { + if (!@posix_isatty($inputStream)) { $input->setInteractive(false); } }