Structure

LSApplicationParameters

Specifies the application, launch flags, and additional parameters that control how an application is launched.

Declaration

struct LSApplicationParameters

Overview

Topics

Instance Properties

var application: UnsafePointer<FSRef>!

The FSRef of the application to open.

var argv: Unmanaged<CFArray>!

An array of values of type CFString that specify the arguments that are to be passed to main() in the launched process. The value of this field can be NULL. This field is ignored in macOS 10.4.

var asyncLaunchRefCon: UnsafeMutableRawPointer!

The client refCon that is to appear in subsequent launch notifications.

var environment: Unmanaged<CFDictionary>!

A dictionary of CFStringRef keys and values for environment variables to set in the launched process. The value of this field can be NULL.

var flags: LSLaunchFlags

Launch flags. For possible values, see LSLaunchFlags.

var initialEvent: UnsafeMutablePointer<AppleEvent>!

The first Apple Event to send to the launched process. The value of this field can be NULL.

var version: CFIndex

The version of the structure. The value of this field must be 0.