Hi Forum,
Having trouble figuring out why my shell command isn't running. I've looked through the forums and the googles and the tutorials and the reference pages and now I feel destitute enough to post here.
I just want to run a little cpp (with a couple of variables) from the command line. It sends an alternating number to a receiving port every three seconds.
When I ssh into Linino, the command works fine but when I try to run it from my Arduino code nothing happens. Here's what I got:
#include <Process.h>
void setup() {
Serial.begin(9600);
Bridge.begin();
Console.begin();
}
void loop() {
Process p;
p.runShellCommand("./SimpleSend 192.168.0.120 1234 User i 1");
delay(3000);
p.runShellCommand("./SimpleSend 192.168.0.120 1234 User i 2");
delay(3000);
}
Thanks much!