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

    Interface RunOptions

    Options of one CLI run.

    interface RunOptions {
        cwd: string;
        timeoutMs: number;
        signal: AbortSignal;
        onLine?(line: string): void;
    }
    Index
    cwd: string

    Folder the command runs in.

    timeoutMs: number

    The run is killed after this time.

    signal: AbortSignal

    Aborting it kills the whole process tree.

    • Gets each stderr line, for tool_progress events.

      Parameters

      • line: string

      Returns void