overjupiter
Still Fresh
- Joined
- Nov 9, 2005
- Messages
- 54
I was wondering why this works
but this doesn't
is there a reason you have to change to the directory before running exec ?
Code:
#!/bin/sh
# return to the menu screen
cd /usr/gp2x
exec /usr/gp2x/gp2xmenu
but this doesn't
Code:
#!/bin/sh
# return to the menu screen
exec /usr/gp2x/gp2xmenu
is there a reason you have to change to the directory before running exec ?