> Christian Convey wrote: > > ... > > But when I launch the program via the symlink, the program's main window > > doesn't become the front-most window, and the menus are unresponsive. > > > > Does anyone know what I'm doing wrong? > > The shell doesn't set the CFProcessPath environment variable to the > destination of the symlink, so none of the normal bundle stuff is able > to find the bundle... > > The strategy we're using in 1.3 (and that can be used in 1.1 as well) > is to create a wrapper script that exec's the bundle executable with > the command-line arguments that are supplied. This looks like: > > "name" > #!/bin/sh > dir="`dirname $0`" > exec "$dir/name.app/Contents/MacOS/name" "$*" > > -- > ______________________________________________________________________ > Michael Sweet, Easy Software Products mike at easysw dot com
Thanks, that's the best solution I was able to come up with as well. It's not very satisfying, but it's still reasonably clean. - Christian _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

