Cotal TypeScript packages
    Preparing search index...

    Interface CustodianLaunch

    interface CustodianLaunch {
        args: string | string[];
        artifactRoot?: string;
        artifacts?: string[];
        command: string;
        confirm?: string;
        confirmBefore?: readonly StartupReply[];
        confirmBlockers?: readonly StartupBlocker[];
        confirmReady?: readonly string[];
        cwd: string;
        env: Record<string, string>;
        id: string;
        logPath?: string;
        name: string;
        recordPath: string;
        run?: string;
        socket: string;
        token: string;
        unattendedMs?: number;
    }
    Index
    args: string | string[]
    artifactRoot?: string

    The launcher's temp dir, which every entry of artifacts must sit directly under.

    artifacts?: string[]

    The launch's private temporary directories, copied onto the seat record. This custodian removes them once it sees its child exit, the one exit it observes directly.

    command: string
    confirm?: string
    confirmBefore?: readonly StartupReply[]
    confirmBlockers?: readonly StartupBlocker[]
    confirmReady?: readonly string[]
    cwd: string
    env: Record<string, string>
    id: string
    logPath?: string
    name: string
    recordPath: string
    run?: string

    Who started this custodian: the launcher's run marker, carried so a census can attribute an orphan to its run without walking /proc/*/cwd (#1648).

    socket: string
    token: string
    unattendedMs?: number

    How long to stay up with no authenticated controller before stopping the child and exiting. Resolved by the LAUNCHER, because the launcher scrubs the environment it hands this process (the child must not inherit the caller's), so an env override read here would never see one.