Open ASOC app with arguments

Hey all.

I’ve found how to specify an argument when opening the application:

http://developer.apple.com/library/ios/#recipes/xcode_help-scheme_editor/Articles/SchemeRun.html

I’ve created a -t and -m argument

How would I use these within my ASOC app though?

Kind regards,

Paul

Hi,

you can launch other applications passing arguments with the method
launchApplicationAtURL:options:configuration:error: of NSWorkspace

in the target app you can read the arguments with


NSProcessInfo's processInfo()'s arguments()

the arguments in the scheme are for simulating/testing the passed arguments