colab_run_command
Run commands in Colab durably so they continue after timeouts, then poll output, check status, or signal the process by ID.
Instructions
Run durably. Timeout leaves it running: retain process_id, poll output/status, or signal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Existing runtime directory under /content. Defaults to /content. | /content |
| argv | Yes | Non-empty executable and argument array; no shell parsing, expansion, or pipes. | |
| session | No | Tracked session name. Null is allowed only when exactly one session exists. | |
| timeout | No | Handoff wait in seconds; timeout leaves the durable process running. | |
| environment | No | Optional environment overrides. Values are never returned or journaled. | |
| output_limit | No | Maximum stdout/stderr bytes returned per stream. |