|
|
Will this work for Cocoa apps?
LaunchCFMApp is how OSX launches carbon apps, right? (I may be wrong) If so, then will this work for cocoa apps too? I use Pseudo myself, but it gets tedious when I have to actually find the app to drop on it. I would much prefer making an easy script (.command) that would go directly to my app as root.
Will this work for Cocoa apps?
Well, more precisely, LaunchCFMApp is how OS X launches CFM executables -- as opposed to Mach-O executables. Most (all?) Cocoa apps are Mach-O, but Carbon ones can be either. E.g.:
[localhost:Internet Explorer.app/Contents/MacOS] fz% file Internet ExplorerThe present trick is only needed for CFM apps; for Mach-O apps you can just call the executable directly. So you'd do % sudo -b /path/to/LaunchCFMApp '/Applications/Internet Explorer.app/Contents/MacOS/Internet Explorer'but simply, % sudo -b /System/Library/CoreServices/Finder.app/Contents/MacOS/FinderAs to AuthorizationTrampoline, I dunno... |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|