共用方式為


LocalShellExecAction interface

在伺服器上執行殼層命令。

屬性

command

要執行的命令。

env

要為命令設定的環境變數。

timeout_ms

指令的超時時間以毫秒計。

type

本地命令介面操作的類型。 一律為 exec

user

使用者將執行該指令為 。

working_directory

執行指令的工作目錄。

屬性詳細資料

command

要執行的命令。

command: string[]

屬性值

string[]

env

要為命令設定的環境變數。

env: Record<string, string>

屬性值

Record<string, string>

timeout_ms

指令的超時時間以毫秒計。

timeout_ms?: number

屬性值

number

type

本地命令介面操作的類型。 一律為 exec

type: "exec"

屬性值

"exec"

user

使用者將執行該指令為 。

user?: string

屬性值

string

working_directory

執行指令的工作目錄。

working_directory?: string

屬性值

string