Dep: update
주로 PHAN
This commit is contained in:
1 parent
5310c2e7f6
commit
b306601c72
1098 files changed
+92137
-33228
No files matched your search
Vendored
+5
@@ -66,6 +66,11 @@ class Terminal
|
||||
return self::$stty;
|
||||
}
|
||||
|
||||
// skip check if exec function is disabled
|
||||
if (!\function_exists('exec')) {
|
||||
return false;
|
||||
}
|
||||
|
||||
exec('stty 2>&1', $output, $exitcode);
|
||||
|
||||
return self::$stty = 0 === $exitcode;
|
||||
|
||||
Reference in new issue
Block a user