Terminates a background process by its ID. The process will be sent a termination signal.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/cloudflare/sandbox-sdk/llms.txt
Use this file to discover all available pages before exploring further.
Method Signature
Parameters
The process ID to kill
Signal to send to the process (currently not supported by the HTTP client)
Optional session ID. If not provided, the default session is used.
Returns
Returns nothing on success. Throws an error if the process is not found or cannot be killed.
Examples
Kill a process by ID
Kill process from Process object
Kill with error handling
Kill all processes matching a pattern
Related Methods
- startProcess - Start a new background process
- listProcesses - List all processes
- getProcess - Get information about a specific process