Hi All, I am attaching the shell script(b.sh) in the mail, which when run does not go beyond login (screen shot attached). The commands which are in the shell are not being executed at the login prompt :(
a.sh is a modified script which when run after the login screen is working fine. If you see closely both a and b.sh are different only in their login command (it exists in a and not in b). Let me know the reason/suggestion/resolution*...... It is very urgent......* Saikat , Its not asking for any password or username.Can there be some issue due to this. Thanking you in advance, Amrit On 9/5/07, amrit kumar <[EMAIL PROTECTED]> wrote: > > 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 > > > -- Amrit kumar B.tech Computer Science Engg ISM DHANBAD http://a4amri.tripod.com
a.sh
Description: Bourne shell script
b.sh
Description: Bourne shell script
<<attachment: scnshot1.JPG>>
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
