Quote:
Originally Posted by paulroberthill
BTW, anyone have an idea why I can't launch fbgnuboy from a Kite script? The same script runs just fine from a ssh shell:
#!/bin/sh
/usr/bin/killall -stop cvm
/mnt/us/fbgnuboy/fbgnuboy /mnt/us/fbgnuboy/tetris.gb
/usr/bin/killall -cont cvm
|
You did not provide enough details for an accurate reply. It would help to see the command that kite uses to launch your script. Does kite launch your script in the background (with '&' appended)? Some scripts do not run correctly when launched in the background (showing "Stopped (tty output)" error messages). Perhaps you need to remove a trailing '&' from the command line.
Also, you can simplify your script commands a bit with a "cd" (some programs may even require this):
#!/bin/sh
killall -stop cvm
cd /mnt/us/fbgnuboy
./fbgnuboy tetris.gb
killall -cont cvm
Quote:
Originally Posted by hostar
Have you made your script executable?
|
Scripts on the USB drive (/mnt/us) are ALWAYS executable because vfat partitions do not have an execute attribute. If you do "ls -al /mnt/us" you will see that ALL files are "+x" even after trying a "chmod -x" on any of them.