Ignore posix_istatty warnings

This commit is contained in:
Norbert Orzechowicz 2013-09-05 14:15:57 +02:00 committed by Fabien Potencier
parent aee97998d5
commit 4e9d99032b
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}