Ddev Exec
ddev_execRun shell commands inside a DDEV project's container by specifying the command and optional project directory. Use it to execute Drush, Composer, or other CLI tasks within the project environment.
Instructions
Run command in the container of the DDEV project under
project_name (a directory containing .ddev).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| project_name | No | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||