We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32ba2ac commit 0259f01Copy full SHA for 0259f01
Helper/QuestionHelper.php
@@ -485,11 +485,11 @@ private function isInteractiveInput($inputStream): bool
485
}
486
487
if (\function_exists('stream_isatty')) {
488
- return self::$stdinIsInteractive = stream_isatty(fopen('php://stdin', 'r'));
+ return self::$stdinIsInteractive = @stream_isatty(fopen('php://stdin', 'r'));
489
490
491
if (\function_exists('posix_isatty')) {
492
- return self::$stdinIsInteractive = posix_isatty(fopen('php://stdin', 'r'));
+ return self::$stdinIsInteractive = @posix_isatty(fopen('php://stdin', 'r'));
493
494
495
if (!\function_exists('exec')) {
0 commit comments