Share feedback
Answers are generated based on the documentation.

Experimental

Schema

ExecRequest

Type: object

ExecRequest runs a command to completion.
cmd · required

Type: array

cmd is the argv vector.
Array item

Type: string

All schema constraints and annotations
{
  "type": "string"
}
All schema constraints and annotations
{
  "description": "cmd is the argv vector.",
  "items": {
    "type": "string"
  },
  "minItems": 1,
  "type": "array"
}
env

Type: object

env adds environment variables.
All schema constraints and annotations
{
  "additionalProperties": {
    "title": "value",
    "type": "string"
  },
  "description": "env adds environment variables.",
  "type": "object"
}
user

Type: string

user is the user to run as.
All schema constraints and annotations
{
  "description": "user is the user to run as.",
  "type": "string"
}
workingDir

Type: string

working_dir is the process working directory.
All schema constraints and annotations
{
  "description": "working_dir is the process working directory.",
  "type": "string"
}
All schema constraints and annotations
{
  "additionalProperties": false,
  "description": "ExecRequest runs a command to completion.",
  "properties": {
    "cmd": {
      "description": "cmd is the argv vector.",
      "items": {
        "type": "string"
      },
      "minItems": 1,
      "type": "array"
    },
    "env": {
      "additionalProperties": {
        "title": "value",
        "type": "string"
      },
      "description": "env adds environment variables.",
      "type": "object"
    },
    "user": {
      "description": "user is the user to run as.",
      "type": "string"
    },
    "workingDir": {
      "description": "working_dir is the process working directory.",
      "type": "string"
    }
  },
  "required": [
    "cmd"
  ],
  "title": "ExecRequest",
  "type": "object"
}