Greg Ercolano wrote:
> Christian Convey wrote:
>>>      #!/bin/sh
>>>      dir="`dirname $0`"
>>>      exec "$dir/name.app/Contents/MacOS/name" "$*"
> 
>     Yes, that is probably better than 'open' in that you can
>     at least pass arguments to your app normally. open(1) is somewhat
>     limited when it comes to passing arguments through it.
> 
>     One nit: in the above script, I think "$*" would be better
>     written as "$@".
 > ...

Oh, yes, that *would* be better and appears to be required by the
POSIX shell (i.e. not just a bash extension).

Will change our code accordingly...

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to