• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: One problem solved, another cropped up
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: One problem solved, another cropped up


  • Subject: Re: One problem solved, another cropped up
  • From: Eric Albert <email@hidden>
  • Date: Thu, 29 Jul 2004 22:55:05 -0700

On Jul 29, 2004, at 1:50 PM, David "Pita" Kopp wrote:

Anyway, next (and hopefully last) problem is that apparently the OS is passing some parameters to the application when it's run via double-clicking the .app package. Any ideas what these are? Any idea WHY they are passed, and if there's any way I can tell it to not do that? This app is meant to be able to be run from the command line as well with filenames as arguments, so it causes issues if a non-filename argument is passed, it just exits without finding the 'file'.

I think you're talking about the -psn_* argument that gets passed to double-clicked applications. That used to be there because Launch Services needed it, but I don't think it's necessary any more. It's probably still there for compatibility reasons (apps that expect it would break if it was removed). I don't think there's any way to turn it off. I'd suggest ignoring the first argument if it starts with "-psn_".


Hope this helps,
Eric
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: One problem solved, another cropped up
      • From: Larry Fransson <email@hidden>
References: 
 >One problem solved, another cropped up (From: "David \"Pita\" Kopp" <email@hidden>)

  • Prev by Date: Tiger feedback email address?
  • Next by Date: Re: One problem solved, another cropped up
  • Previous by thread: One problem solved, another cropped up
  • Next by thread: Re: One problem solved, another cropped up
  • Index(es):
    • Date
    • Thread