AboutSupportDeveloper GuideVersion 1.1.0

Interface LaunchOptions

Options for launching a new process

interface LaunchOptions {
    appAssetInfo?: {
        alias: string;
        version: string;
    };
    args?: string[];
    clientId?: string;
    cwd?: string;
    path: string;
    strategy?: LaunchStrategy;
}

Properties

appAssetInfo?: {
    alias: string;
    version: string;
}

The asset information for the executable to launch

Type declaration

  • alias: string

    The alias of the asset

  • version: string

    The version of the asset

args?: string[]

The optional arguments to pass to the executable

clientId?: string

The client id to register the process with

cwd?: string

The optional working directory to launch the process in

path: string

The path to the executable to launch, or if appAssetInfo is provided, the target name of the asset

strategy?: LaunchStrategy

The optional launch and window discovery strategy to use (defaults to delay)