On Mac OS X there is a very useful "open" command which launches an application suitable for opened file type. Is there some C++/Objective-C function on Mac which does the same?
Note: I know I could launch an "open" process. I'm just not sure if it's the best option.