Share via


LocalShellExecAction interface

Execute a shell command on the server.

Properties

command

The command to run.

env

Environment variables to set for the command.

timeout_ms

The timeout for the command in milliseconds.

type

The type of the local shell action. Always exec.

user

The user to run the command as.

working_directory

The working directory to run the command in.

Property Details

command

The command to run.

command: string[]

Property Value

string[]

env

Environment variables to set for the command.

env: Record<string, string>

Property Value

Record<string, string>

timeout_ms

The timeout for the command in milliseconds.

timeout_ms?: number

Property Value

number

type

The type of the local shell action. Always exec.

type: "exec"

Property Value

"exec"

user

The user to run the command as.

user?: string

Property Value

string

working_directory

The working directory to run the command in.

working_directory?: string

Property Value

string