Polyman Documentation - v3.1.0
    Preparing search index...

    Interface RunResult

    The outcome of one CLI run.

    interface RunResult {
        exitCode: number | null;
        reason: "timeout" | "exited" | "cancelled";
        json?: unknown;
        stdoutTail: string;
        stderrTail: string;
        logPath: string;
        durationMs: number;
    }
    Index
    exitCode: number | null

    Exit code, or null when the process was killed.

    reason: "timeout" | "exited" | "cancelled"

    Why the run ended.

    json?: unknown

    Parsed stdout, when the command ran with --json.

    stdoutTail: string

    The end of stdout.

    stderrTail: string

    The end of stderr.

    logPath: string

    Path of the full output on disk.

    durationMs: number

    How long the run took.