NSFileManager - isExecutableFileAtPath - seems to lie
NSFileManager - isExecutableFileAtPath - seems to lie
- Subject: NSFileManager - isExecutableFileAtPath - seems to lie
- From: Diggory Laycock <email@hidden>
- Date: Fri, 5 Jul 2002 14:26:08 +0100
I was wondering if anyone else has noticed the somewhat unreliability of
NSFileManager's isExecutableFileAtPath: method.
It seems to return YES for *any bundle* (including frameworks) and
.webloc files.
It returns NO to aliases to Applications and to at least one specific
Carbon App (Sim Express (
http://www.idexpress.fi/simexpress/))
Does anyone have any idea of how to accurately identify a path as an
application?
Digs.
Diggory Laycock
-----------------------
http://www.diggory.net
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.