intellibrix v1.0.0
    Preparing search index...

    Type Alias ContainerExec

    ContainerExec: (
        bin: string,
        args: string[],
        options?: { input?: string; signal?: AbortSignal; timeoutMs?: number },
    ) => Promise<ContainerExecResult>

    Runs the container CLI. The default spawns the binary directly (never through a shell); override it to test, to run the CLI over SSH, or to log every command.

    Type Declaration

      • (
            bin: string,
            args: string[],
            options?: { input?: string; signal?: AbortSignal; timeoutMs?: number },
        ): Promise<ContainerExecResult>
      • Parameters

        • bin: string
        • args: string[]
        • Optionaloptions: { input?: string; signal?: AbortSignal; timeoutMs?: number }

        Returns Promise<ContainerExecResult>