wasm-posix-host
    Preparing search index...

    Interface SpawnOptions

    interface SpawnOptions {
        cwd?: string;
        env?: string[];
        gid?: number;
        maxAddr?: number;
        onStarted?: (pid: number) => void | Promise<void>;
        programModule?: Module;
        pty?: boolean;
        ptyCols?: number;
        ptyRows?: number;
        stdin?: Uint8Array<ArrayBufferLike>;
        uid?: number;
    }
    Index

    Properties

    cwd?: string
    env?: string[]
    gid?: number

    Initial real/effective group ID for the process.

    maxAddr?: number

    Limit heap growth to protect thread channel pages

    onStarted?: (pid: number) => void | Promise<void>

    Called after the process has been created and started

    programModule?: Module

    Optional pre-compiled module for the supplied program bytes.

    pty?: boolean
    ptyCols?: number

    Initial PTY winsize. Applied before the wasm program starts so the first TIOCGWINSZ returns the correct cols/rows.

    ptyRows?: number
    stdin?: Uint8Array<ArrayBufferLike>
    uid?: number

    Initial real/effective user ID for the process.