Open GoogleCodeExporter opened 8 years ago
Forget the $output. That was used in my debugging :). The correct patch is as
follow:
<pre>
--- php_serial.class.php.orig
+++ php_serial.class.php
@@ -49,7 +49,7 @@
{
$this->_os = "linux";
- if($this->_exec("stty --version") === 0)
+ if($this->_exec("which stty") === 0)
{
register_shutdown_function(array($this, "deviceClose"));
}
</pre>
Original comment by hvdka...@gmail.com
on 4 Oct 2012 at 11:40
Original issue reported on code.google.com by
hvdka...@gmail.com
on 4 Oct 2012 at 11:36