For each argument I supply on the command line I get a message that the application can't open files of that type.
It is an NSDocument based application for OSX.
I want to use the arguments later on via [[NSProcessInfo processInfo] arguments], but how do I avoid that each argument is taken as a file to open?
It is an NSDocument based application for OSX.
I want to use the arguments later on via [[NSProcessInfo processInfo] arguments], but how do I avoid that each argument is taken as a file to open?