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;
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))
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