Stop the game session
stopKill only processes this session started and verify they are gone. If any remain, keep the session so a retry can clean them up.
Instructions
Kill only the processes this session started, and confirm they are gone.
Args:
settle: Seconds a killed process may take to leave the process table
before it counts as a survivor. /F returns before Windows has
caught up, so verifying too eagerly reports a successful teardown as
a refused one — raise this on a loaded machine rather than lower it.
Surgical on purpose: a developer usually has their own game open, and a teardown that killed every tModLoader it could find would take it with them.
killed_pids are pids VERIFIED to have left the process table, not pids a
kill was aimed at. If any survive, this FAILS rather than answering with a
shorter list — and the session is deliberately kept, so calling stop
again retries exactly those pids. Releasing it would leave a running game
that nothing owns, which is how the next launch ends up refusing to start
over a process nobody remembers starting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| settle | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| killed_pids | Yes |