Hi All,

I am currently working on Tiny OS related stuff and am stuck with the
following problem. Please let me know if you have a solution.

A part of the *java code* is required to do the following :

1. Open bash shell (cygwin) from command prompt by running "bash -- login
 i" on command prompt

  i.e "bash -- login  i"  does this on command prompt. bash shell prompt is
displayed after this.

2. On the same bash login(bash shell prompt) change directory to
"C:\tinyos\cygwin\opt\tinyos-1.x\apps\Bombilla"

  i.e  $ cd C:/tinyos/cygwin/opt/tinyos-1.x/apps/Bombilla

3. On the same prompt run "make pc" command

i.e $ make pc


All this has to be done through java. I even tried creating a shell file to
the above and calling the same from java, but every time the shell gets
stuck at step 1.It shows the login prompt but It does not execute any
command after 1st step.

Let me know your suggestions/solutions.

Thanks,
Amrit
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to