shell_start
Start long-running commands in the background and get a job ID to read output, wait, or kill. Use for builds, installs, tests, or dev servers that exceed shell timeouts.
Instructions
Start a long-running command in the background and return a job id.
Output is buffered as it arrives; read it with shell_job_output, block on it with shell_job_wait, stop it with shell_job_kill. Use this for builds, installs, test suites and dev servers that would blow shell_execute's timeout.
Args: command: Shell command line. cwd: Working directory. Defaults to the user's home. env: Extra environment variables.
Returns: job_id, pid, command, cwd.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| env | No | ||
| command | Yes |