コード例 #1
0
ファイル: Command.php プロジェクト: joegreen0991/command
 private function hasSttyAvailable()
 {
     if (null !== self::$stty) {
         return self::$stty;
     }
     exec('stty 2>&1', $output, $exitcode);
     return self::$stty = $exitcode === 0;
 }