foo-webview-sdk
    Preparing search index...

    Interface ShellSpawnParams

    Parameters for shell.spawn. Start a process from an executable and an argument list. With waitForExitMs the call waits that long for an early exit; a non-zero exit within the wait fails with OPERATION_FAILED and the failure carries processId, exited and exitCode. An absolute executable path and cwd go through path security.

    interface ShellSpawnParams {
        args?: string[];
        cwd?: string;
        executable: string;
        hidden?: boolean;
        waitForExitMs?: number;
    }
    Index
    args?: string[]

    Arguments passed to the process, each quoted.

    cwd?: string

    Working directory, which has to exist; the process inherits foobar2000's when omitted or empty.

    executable: string

    Executable name (resolved through PATH) or path. Surrounding whitespace and quotes are removed.

    hidden?: boolean

    Start the process without a visible window.

    true
    
    waitForExitMs?: number

    Milliseconds to wait for an early exit; 0 returns as soon as the process starts.

    0