reinvent_attach_pid
Attach a process ID to a registered job for live polling, letting the server reliably check if the process is still running.
Instructions
Attach a process ID to a registered user job for live polling.
After running a job manually and registering it with reinvent_register_job, call this to attach the PID. The server can then use os.kill(pid, 0) to check if the process is still running, improving polling reliability.
Args: job_id: Job ID from reinvent_register_job pid: Process ID of the running reinvent job
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | ||
| job_id | Yes |