langchain.js
    Preparing search index...

    Options for running a command in a sandbox.

    interface RunOptions {
        cwd?: string;
        env?: Record<string, string>;
        shell?: string;
        timeout?: number;
    }
    Index

    Properties

    cwd?: string

    Working directory for command execution.

    env?: Record<string, string>

    Environment variables to set for the command.

    shell?: string

    Shell to use for command execution. Defaults to "/bin/bash".

    timeout?: number

    Command timeout in seconds.