Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 02cda05

Browse files
cordovalfabpot
authored andcommitted
[Enhancement] netbeans - force interactive shell when limited detection
1 parent 36d62ee commit 02cda05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Console/Application.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ protected function configureIO(InputInterface $input, OutputInterface $output)
855855
$input->setInteractive(false);
856856
} elseif (function_exists('posix_isatty') && $this->getHelperSet()->has('dialog')) {
857857
$inputStream = $this->getHelperSet()->get('dialog')->getInputStream();
858-
if (!@posix_isatty($inputStream)) {
858+
if (!@posix_isatty($inputStream) && false === getenv('SHELL_INTERACTIVE')) {
859859
$input->setInteractive(false);
860860
}
861861
}

0 commit comments

Comments
 (0)