bg
Start a background process, such as a dev server, in an isolated sandbox environment.
Instructions
Start a background process in the sandbox (e.g., a dev server).
Args: command: Command to run in background (e.g., "python3 -m http.server 8000") name: Optional friendly name for the process (auto-generated if empty) workdir: Working directory (default: /workspace) sandbox: Named sandbox to use (default "default")
Returns: Process ID and name for use with logs/kill.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| name | No | ||
| workdir | No | /workspace | |
| sandbox | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |