I am playing around with Google's Android emulator, but it appears that the PATH variable is not persistent. I wanted to write a shell script that I could run to start up the emulator, set the path, and then give me shell access. One problem is that there is a short start up time for the emulator, so I would need to wait a few seconds before running any other commands. Here is what I have so far:
./emulator &; #NEED TO WAIT A FEW SECONDS HERE ./adb shell export PATH=/data/busybox:$PATH; ./adb shell Apparently there is also a problem with the '&' in line 1. How can I start up the emulator in the background, wait a few seconds, and then run the other two commands? Thanks. -ryan -------------------- BYU Unix Users Group http://uug.byu.edu/ The opinions expressed in this message are the responsibility of their author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/newbies
