note 88605 deleted from function.exec by danbrown

From: Date: Sat, 31 Jan 2009 18:07:14 +0000
Subject: note 88605 deleted from function.exec by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-150041@lists.php.net to get a copy of this message
Note Submitter: Anonymous ---- I have an issue that so far anybody was able to help me. I have to execute the following shell command (disable DTR in a serial stream to avoid a serial triggering on my embedded system...it causes, by mean of DTR line, an autoreset every time a serial connection is opened...): stty -F /dev/USB0 -hupcl so I pass it to a php script: exec ("stty -F /dev/USB0 -hupcl"); but it doesn't work....after this exec DTR still working. ....then I try to make syntax error [so to see if command is processed].... exec ("stty -F /dev/USB0 -hdjshdjs"); and apache log tell me that stty doesn't have this option..so the command is processed by apache. I was wondering where I am mistaking. Thanks in advance

« previous php.notes (#150041) next »