On Sat, Dec 3, 2016 at 3:38 PM, Ken Cunningham <
ken.cunningham.web...@gmail.com> wrote:

> Yeah - that was interesting. The bin/pingus launch script had this:
>
> #!/bin/sh
> exec "/Applications/MacPorts/Pingus.app/Contents/MacOS/libexec/pingus"
> --datadir "/Applications/MacPorts/Pingus.app/Contents/MacOS/share/pingus"
> "$@"
>
> which works from a terminal prompt, but not in an application bundle.
>
> taking off the  "$@“ allowed the launch script to work in  the bundle.
>
> Do you know of a better method to use?
>

Get rid of any parameter that starts with the characters "-psn_". This is
added by the bundle launcher, expected by native applications, and will
confuse most Linux-originated programs.

-- 
brandon s allbery kf8nh                               sine nomine associates
allber...@gmail.com                                  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

Reply via email to