exec_run
Execute non-interactive commands without a shell in a secure Linux environment. Requires a lease to run tests, builds, or scripts, with cwd restricted to the project root.
Instructions
Run a non-interactive command as an argv list (no shell). Requires a valid exclusive lease_id from workspace_acquire. cwd must stay under the project root. Use for pytest/builds/scripts; use terminal_* later for interactive PTY. Requires lease; production checkout write gated by CODEAGENT_*_WRITE + project policy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| command | Yes | ||
| lease_id | Yes | ||
| timeout_s | No | ||
| env_overrides | No | ||
| max_output_bytes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||