<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Dec 3, 2016 at 3:43 PM, Brandon Allbery <span dir="ltr"><<a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br></span>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.</blockquote></div><br>I should note that doing this properly is much harder than you might think, from a shell script --- especially if it supports options that take parameters that might include spaces. Unless you're planning to rewrite the wrapper in something other than shell (no, bash doesn't help you here), just squelching the "$@" is the best you're likely to do.<br clear="all"><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>