We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 13ffcd4 + b2e681f commit c24e72fCopy full SHA for c24e72f
src/PhpSerial.php
@@ -47,7 +47,7 @@ public function __construct()
47
if (substr($sysName, 0, 5) === "Linux") {
48
$this->_os = "linux";
49
50
- if ($this->_exec("stty") === 0) {
+ if ($this->_exec("stty --version") === 0) {
51
register_shutdown_function(array($this, "deviceClose"));
52
} else {
53
trigger_error(
0 commit comments