Re: FSCopyObjectAsync: useless and crippled
Re: FSCopyObjectAsync: useless and crippled
- Subject: Re: FSCopyObjectAsync: useless and crippled
- From: "Mark Munz (DevList)" <email@hidden>
- Date: Mon, 16 May 2005 16:14:52 -0500
rm -rf TextEdit.app does not constitute a drag and drop installation.
There is no way I'd ever expect an end user to use a command line
like that.
It's not the launching from the Finder that is the problem, but the
replacement with the Finder.
Mark Munz
On May 16, 2005, at 3:23 PM, Ondra Cada wrote:
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 :))
_______________________________________________
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