private function QuestionHelperTest::hasSttyAvailable in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Tests/Helper/QuestionHelperTest.php \Symfony\Component\Console\Tests\Helper\QuestionHelperTest::hasSttyAvailable()
1 call to QuestionHelperTest::hasSttyAvailable()
- QuestionHelperTest::testAskWithAutocomplete in vendor/
symfony/ console/ Tests/ Helper/ QuestionHelperTest.php
File
- vendor/
symfony/ console/ Tests/ Helper/ QuestionHelperTest.php, line 377
Class
- QuestionHelperTest
- @group tty
Namespace
Symfony\Component\Console\Tests\HelperCode
private function hasSttyAvailable() {
exec('stty 2>&1', $output, $exitcode);
return $exitcode === 0;
}