Ignore posix_istatty warnings
This commit is contained in:
parent
aee97998d5
commit
4e9d99032b
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user