@runloop/remote-agents-sdk
    Preparing search index...

    Type Alias CommandExecParams

    Run a standalone command (argv vector) in the server sandbox without creating a thread or turn.

    The final command/exec response is deferred until the process exits and is sent only after all command/exec/outputDelta notifications for that connection have been emitted.

    type CommandExecParams = {
        command: string[];
        cwd?: string | null;
        disableOutputCap?: boolean;
        disableTimeout?: boolean;
        env?: { [key in string]?: string | null } | null;
        outputBytesCap?: number | null;
        processId?: string | null;
        sandboxPolicy?: SandboxPolicy | null;
        size?: CommandExecTerminalSize | null;
        streamStdin?: boolean;
        streamStdoutStderr?: boolean;
        timeoutMs?: number | null;
        tty?: boolean;
    }
    Index

    Properties

    command: string[]

    Command argv vector. Empty arrays are rejected.

    cwd?: string | null
    disableOutputCap?: boolean
    disableTimeout?: boolean
    env?: { [key in string]?: string | null } | null
    outputBytesCap?: number | null
    processId?: string | null
    sandboxPolicy?: SandboxPolicy | null
    streamStdin?: boolean
    streamStdoutStderr?: boolean
    timeoutMs?: number | null
    tty?: boolean