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.
2 parents 2f90325 + 0259f01 commit 79e0887Copy full SHA for 79e0887
Helper/QuestionHelper.php
@@ -489,11 +489,11 @@ private function isInteractiveInput($inputStream): bool
489
}
490
491
if (\function_exists('stream_isatty')) {
492
- return self::$stdinIsInteractive = stream_isatty(fopen('php://stdin', 'r'));
+ return self::$stdinIsInteractive = @stream_isatty(fopen('php://stdin', 'r'));
493
494
495
if (\function_exists('posix_isatty')) {
496
- return self::$stdinIsInteractive = posix_isatty(fopen('php://stdin', 'r'));
+ return self::$stdinIsInteractive = @posix_isatty(fopen('php://stdin', 'r'));
497
498
499
if (!\function_exists('exec')) {
0 commit comments