executing shell script on program startup

Discussion in 'Mac Programming' started by Mernak, Mar 20, 2007.

  1. macrumors 6502

    Joined:
    Apr 9, 2006
    Location:
    Boston, MA
    #1
    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?
     
  2. macrumors 6502a

    lancestraz

    Joined:
    Nov 27, 2005
    Location:
    RI
    #2
    You can hide the ".command" extension. Just delete it from the name.
     
  3. thread starter macrumors 6502

    Joined:
    Apr 9, 2006
    Location:
    Boston, MA
    #3
    Guess that is what I'll do then. thanks
     

Share This Page