You are here

private function QuestionHelperTest::hasSttyAvailable in Zircon Profile 8

Same name and namespace in other branches
  1. 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\Helper

Code

private function hasSttyAvailable() {
  exec('stty 2>&1', $output, $exitcode);
  return $exitcode === 0;
}