title: Mac shell script running java program puts two icons in the dock
body: <p>I have a Mac application bundle which is executing a shell script.  The shell script calls java program 1 to do some stuff and then launches the main java application.  This process leaves one icon in the Dock for the shell script which shows the name from the application folder and one icon in the Dock for the java program.  </p>
  
  <p>Is there any way to prevent the shell script application icon from showing in the Dock?</p>