<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Dec 3, 2016 at 3:38 PM, Ken Cunningham <span dir="ltr"><<a href="mailto:ken.cunningham.webuse@gmail.com" target="_blank">ken.cunningham.webuse@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Yeah - that was interesting. The bin/pingus launch script had this:</div><div><br></div><div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures">#!/bin/sh</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures">exec "/Applications/MacPorts/<wbr>Pingus.app/Contents/MacOS/<wbr>libexec/pingus" --datadir "/Applications/MacPorts/<wbr>Pingus.app/Contents/MacOS/<wbr>share/pingus" "$@"</span></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures">which works from a terminal prompt, but not in an application bundle. </span></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures">taking off the </span><span style="font-family:Menlo;font-size:11px;background-color:rgb(255,255,255)"> </span><span style="background-color:rgb(255,255,255)"><font face="Menlo"><span style="font-size:11px">"$@“ </span></font></span>allowed the launch script to work in  the bundle.</div><div><br></div><div>Do you know of a better method to use?</div></div></blockquote></div><br>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.<br><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>