ResourceBuilt-in resource
kdeps-resource-exec
v3.6.0The `exec` component runs a shell command and returns a structured result: `{success, exitCode, stdout, stderr, command, result, timedOut}`.
Usage
Built into kdeps: no install. Add it to a resource under the exec: key.
# resources/my-step.yaml
actionId: myStep
exec:
# options below
Documentation
exec component
The exec component runs a shell command and returns a structured result: {success, exitCode, stdout, stderr, command, result, timedOut}.
# resources/system-info.yaml
actionId: systemInfo
name: System Information
component:
name: exec # from the components asset set; a components/exec/ of your own wins
with:
command: "uname -a && date" # required; multiline scripts allowed
timeout: 10s # hard stop; the call fails after it, no retry
Read next
- exec component reference - every key, option and detail
- Python resource - complex data processing
- HTTP client - API calls (preferred over curl)
Versions
| Version | Published | Status | Source |
|---|---|---|---|
| 3.6.0 | 11/27/2026 | active | GitHub v3.6.0 |
| 3.5.1 | 11/25/2026 | active | GitHub v3.5.1 |
| 3.5.0 | 11/24/2026 | active | GitHub v3.5.0 |
| 3.4.0 | 11/23/2026 | active | GitHub v3.4.0 |
| 3.3.0 | 11/21/2026 | active | GitHub v3.3.0 |
Details
- Author
- kdeps
- License
- Apache-2.0
- Latest Version
- 3.6.0
- Published
- 11/21/2026
Links
Tags
kdepsresourceexec