You are here

private function LegacyDialogHelperTest::hasSttyAvailable in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Tests/Helper/LegacyDialogHelperTest.php \Symfony\Component\Console\Tests\Helper\LegacyDialogHelperTest::hasSttyAvailable()
1 call to LegacyDialogHelperTest::hasSttyAvailable()
LegacyDialogHelperTest::testAskWithAutocomplete in vendor/symfony/console/Tests/Helper/LegacyDialogHelperTest.php

File

vendor/symfony/console/Tests/Helper/LegacyDialogHelperTest.php, line 189

Class

LegacyDialogHelperTest
@group legacy

Namespace

Symfony\Component\Console\Tests\Helper

Code

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