• 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: FSCopyObjectAsync: useless and crippled
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FSCopyObjectAsync: useless and crippled


  • Subject: Re: FSCopyObjectAsync: useless and crippled
  • From: Ondra Cada <email@hidden>
  • Date: Mon, 16 May 2005 22:23:35 +0200

Mark,

On 16.5.2005, at 22:02, Mark Munz (DevList) wrote:

Oh, I'm happy to run it out of the Application package, except that when you do that, the Finder will no longer let you replace the file, since it's in use.

Uh-oh? I fear I do not quite follow. Sounds almost like some windoze- thing -- that's normal in there you can't mess up with a running application; there are no such dumb limits in OS X luckily :) Well I really don't know what exactly are you trying to do, but you definitely *can* do whatever you want to with a running application package -- I've just checked, note the line #66:


64 /tmp> ditto /Applications/TextEdit.app TextEdit.app
65 /tmp> ./TextEdit.app/Contents/MacOS/TextEdit&
[2] 8689
66 /tmp> 2005-05-16 22:16:10.633 TextEdit[8689] CFLog (0): CFMessagePort: bootstrap_register(): failed 1103 (0x44f), port = 0x3103, name = 'com.apple.TextEdit.ServiceProvider'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2005-05-16 22:16:10.682 TextEdit[8689] CFLog (99): CFMessagePortCreateLocal(): failed to name Mach port (com.apple.TextEdit.ServiceProvider)
66 /tmp> rm -rf TextEdit.app
67 /tmp> ls -l Tex*
zsh: no matches found: Tex*
68 /tmp> ps -auxww | fgrep TextEdit.app
ocs 8689 0.0 2.1 251900 26996 p1 SN 10:16PM 0:01.04 ./TextEdit.app/Contents/MacOS/TextEdit
ocs 8694 0.0 0.0 28084 316 p1 U+ 10:17PM 0:00.00 fgrep TextEdit.app
69 /tmp>
[2] + done ./TextEdit.app/Contents/MacOS/TextEdit
69 /tmp> ps -auxww | fgrep TextEdit.app
70 /tmp>


(And yes, to be completely sure, I've tried also to launch from Finder instead of the line #65 just in case the thing did some ugly tricks of itself :))
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc



_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: FSCopyObjectAsync: useless and crippled
      • From: "Mark Munz (DevList)" <email@hidden>
References: 
 >Re: FSCopyObjectAsync: useless and crippled (From: Stéphane Sudre <email@hidden>)
 >Re: FSCopyObjectAsync: useless and crippled (From: "Mark Munz (DevList)" <email@hidden>)
 >Re: FSCopyObjectAsync: useless and crippled (From: Ondra Cada <email@hidden>)
 >Re: FSCopyObjectAsync: useless and crippled (From: "Mark Munz (DevList)" <email@hidden>)
 >Re: FSCopyObjectAsync: useless and crippled (From: Andreas Mayer <email@hidden>)
 >Re: FSCopyObjectAsync: useless and crippled (From: "Mark Munz (DevList)" <email@hidden>)
 >Re: FSCopyObjectAsync: useless and crippled (From: Ondra Cada <email@hidden>)
 >Re: FSCopyObjectAsync: useless and crippled (From: "Mark Munz (DevList)" <email@hidden>)

  • Prev by Date: Re: From Panther to Tiger
  • Next by Date: Re: From Panther to Tiger
  • Previous by thread: Re: FSCopyObjectAsync: useless and crippled
  • Next by thread: Re: FSCopyObjectAsync: useless and crippled
  • Index(es):
    • Date
    • Thread