PDA

View Full Version : executing shell script on program startup




Mernak
Mar 20, 2007, 08:54 PM
Basically I have quite a few disk images of games that I don't feel like carrying around all of the time, but as it stands now I actually have to find the disk image, click on it and open the program. I know it is still quick, but I thought that I had read about a hint somewhere that allowed you to automatically execute a shell script before opening a program, but I tried googling and found nothing. One workarounnd I've found is having a shell script open the disk image, open the program and quit the terminal, but the .command extension is annoying me. Anyone know how to do what I am looking for?



lancestraz
Mar 20, 2007, 10:06 PM
You can hide the ".command" extension. Just delete it from the name.

Mernak
Mar 23, 2007, 08:46 PM
Guess that is what I'll do then. thanks