tarlatan
    Preparing search index...

    Interface Process

    The parts of Bun's process global that tarlatan declares.

    interface Process {
        argv: readonly string[];
        env: Record<string, string>;
        execPath: string;
        exit(code: number): never;
        umask(mask: number): number;
    }
    Index
    argv: readonly string[]

    The runtime's executable, the script's path, then the script's arguments: for bun src/facade/main.ts --config <path> status, the owner's words start at index 2.

    env: Record<string, string>

    The process environment, by variable name; a child started without an environment of its own inherits it.

    execPath: string

    The path of the running Bun executable.

    • Ends the process at once with exit status code; never returns.

      Parameters

      • code: number

      Returns never

    • Sets the process umask to mask and returns the previous one. The store directory tests set a restrictive and a permissive umask and restore the previous one afterwards.

      Parameters

      • mask: number

      Returns number