Cotal TypeScript packages
    Preparing search index...

    Type Alias ProcessCommand

    ProcessCommand:
        | { command: string; kind: "command" }
        | { kind: "gone" }
        | { kind: "unreadable"; why: string }

    What was read about ONE pid's command line, three-valued for the same reason liveness is: "it is something else" and "its command line could not be read" are different facts and only the first may be acted on.

    Type Declaration

    • { command: string; kind: "command" }

      The process's argv, as the OS reports it.

    • { kind: "gone" }

      No such process — the pid died between the liveness probe and this read, or never existed.

    • { kind: "unreadable"; why: string }

      This platform, sandbox, or permission set cannot answer. NOT "it is foreign".