runShellCommand() not returning results on the Arduino Yun
hello,
i've got sketch calling bash script via runshellcommand() function. while parameters passed simple scripts, i've not had luck getting bash script's results pass arduino sketch. to answer questions have covered, can see adafruit support thread here:
http://forums.adafruit.com/viewtopic.php?f=25&t=50349
when run ssh terminal on yun, script accepts parameters , returns proper integer shell. when call same script runshellcommand function, returns "0". my script makes use of "bc" program perform complex math, , script call other scripts.
any ideas on how sketch proper result shell script?
i've got sketch calling bash script via runshellcommand() function. while parameters passed simple scripts, i've not had luck getting bash script's results pass arduino sketch. to answer questions have covered, can see adafruit support thread here:
http://forums.adafruit.com/viewtopic.php?f=25&t=50349
when run ssh terminal on yun, script accepts parameters , returns proper integer shell. when call same script runshellcommand function, returns "0". my script makes use of "bc" program perform complex math, , script call other scripts.
any ideas on how sketch proper result shell script?
quote
any ideas on how sketch proper result shell script?
sure. post question in correct place - forum yun.
Arduino Forum > Using Arduino > Programming Questions > runShellCommand() not returning results on the Arduino Yun
arduino
Comments
Post a Comment