Re: [Tinyos-help] Motelist prob.

2007-09-20 Thread Kevin Klues
Assuming your motelist script is really in /usr/bin, you need a space borefe the '-c' in '/usr/bin/motelist -c' Kevin On 9/20/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all, I'm using tinyos-2.x and tinynodes. I run this piece of code: Process p = null;

Re: [Tinyos-help] Motelist prob.

2007-09-20 Thread Philip Levis
On Sep 20, 2007, at 2:09 AM, [EMAIL PROTECTED] wrote: Hi all, I'm using tinyos-2.x and tinynodes. I run this piece of code: Process p = null; System.out.println( OS is +System.getProperty (os.name)); if(System.getProperty(os.name).equals(Linux))

re: [Tinyos-help] Motelist prob.

2007-09-20 Thread Daniel Widyanto
Hi, java.io.IOException: error=2, No such file or directory -- Check whether you have motelist or not : bash# whereis motelist Replace MOTELISTCMDL with the correct path of motelist : public static final String MOTELISTCMDL = /usr/bin/motelist -c; The name of the script is motelist. The