• 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: Why is NSString->FSRef so hard?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why is NSString->FSRef so hard?


  • Subject: Re: Why is NSString->FSRef so hard?
  • From: "Stephen J. Butler" <email@hidden>
  • Date: Tue, 28 Apr 2009 01:14:44 -0500

On Tue, Apr 28, 2009 at 12:21 AM, Erg Consultant
<email@hidden> wrote:
> LSOpenCFURLRef doesn't work either - kLSApplicationNotFoundErr.
>
> The nature of the file is the app's exe which is normally inside the MacOS dir.
>
> However, all this works perfectly fine if there are no special chars in the path - the exe launches just fine. I find it hard to believe that Apple would issue an API that executes single executable binaries only in the case that they don't have special chars in the path.

Because you seem to still think this is Apple's fault, I've created a
simple app which demonstrates what you are telling us you are trying
to do:

https://netfiles.uiuc.edu:443/sbutler1/www/Open An App.tar.gz

The way I tested it is I copied TextEdit to my desktop. Then I renamed
it TextEdit™, and went into the app bundle and renamed the executable
TextEdit™. Then I typed this into the text box and hit return:

/Users/me/Desktop/TextEdit™.app/Contents/MacOS/TextEdit™

Hit launch and TextEdit launched. Ergo, OS X has no problems with
special characters in the path. Your issue is in your code. QED.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Why is NSString->FSRef so hard?
      • From: Erg Consultant <email@hidden>
References: 
 >Why is NSString->FSRef so hard? (From: Erg Consultant <email@hidden>)
 >Re: Why is NSString->FSRef so hard? (From: "Sean McBride" <email@hidden>)
 >Re: Why is NSString->FSRef so hard? (From: Erg Consultant <email@hidden>)
 >Re: Why is NSString->FSRef so hard? (From: Ken Thomases <email@hidden>)
 >Re: Why is NSString->FSRef so hard? (From: Erg Consultant <email@hidden>)
 >Re: Why is NSString->FSRef so hard? (From: Ken Thomases <email@hidden>)
 >Re: Why is NSString->FSRef so hard? (From: Erg Consultant <email@hidden>)

  • Prev by Date: Getting Display Names
  • Next by Date: Re: Second frontmost app?
  • Previous by thread: Re: Why is NSString->FSRef so hard?
  • Next by thread: Re: Why is NSString->FSRef so hard?
  • Index(es):
    • Date
    • Thread