Instance Property

launchArguments

The arguments that will be passed to the application on launch.

Declaration

var launchArguments: [String] { get set }

Discussion

If not modified, these are the arguments that Xcode will pass to the application on launch. The arguments can be changed, added to, or removed. Unlike Process, it is also legal to modify these arguments after the application has been launched. Such changes will not affect the current launch session, but will take effect the next time the application is launched.

See Also

Launching the Application

func launch()

Launches the application.

var launchEnvironment: [String : String]

The environment variables that will be passed to the application on launch.