[osx_listen_fix
ronw@ee.columbia.edu**20060718180131
 
 Native Mac OS X applications are a wierd beast.  They look like
 directories to UNIX and can only be executed from the command line
 using the open command.  
 
] hunk ./src/com/meapsoft/gui/MEAPsoftGUIPanel.java 217
+
+                // need a special case for OS X because native OS X
+                // applications are actually stored as directories...
+                if(System.getProperty("os.name").equals("Mac OS X")
+                   && new File(audioPlayerName).isDirectory())
+                {
+                    String[] tmp = {"open", audioPlayerName, soundFile};
+                    args = tmp;
+                }
+
