crosspad_kill
Stops the running PC simulator by locating its process, sending SIGTERM with a 3-second grace period, then force-killing any stragglers via SIGKILL to free the TCP control port.
Instructions
[PC sim] Stop the running PC simulator. Identifies the process by /proc//exe match against the built binary (Linux) or pgrep -x basename (macOS/Windows), sends SIGTERM, waits up to 3s, then SIGKILL stragglers. Returns killed PIDs and whether anything still answers on the TCP control port. Currently PC-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | No | Platform — currently only 'pc' is supported here. | pc |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| success | Yes | ||
| killed_pids | Yes | ||
| was_running | Yes |