Objective C: Identifying a unix executable file

Discussion in 'Mac Programming' started by Soulstorm, Jan 2, 2008.

  1. Soulstorm macrumors 68000

    Soulstorm

    Joined:
    Feb 1, 2005
    #1
    I am using ObjC and I need a way to identify unix execuable files. An example of such an executable is the executable located into each Cocoa Application's /Contents/MacOS folders. How do I do that?
     
  2. Eraserhead macrumors G4

    Eraserhead

    Joined:
    Nov 3, 2005
    Location:
    UK
    #2
    I believe you use NSFileManager's isExecutableFileAtPath:
     

Share This Page