dayz-stop-test
Kills every running DayZDiag_x64.exe process (local test server and client). Use when a /dayz-launch-test session needs to stop, including when the environment is half-broken; does not gate on /dayz-p
SKILL.mdskills/dayz-stop-test/SKILL.md
GitHub<!-- skill-dir-note -->
Path note:
<skill-dir>in commands below is the absolute path of this skill's folder. When the agent loads this skill the harness exposes the skill's base directory; substitute it before running. Sibling skills are reached via<skill-dir>\..\dayz-X\.
/dayz-stop-test
Stop a running local DayZ test session by killing every DayZDiag_x64.exe process. Counterpart to /dayz-launch-test.
Follow skills/_shared/dayz-conventions.md. This skill is the abort-only exception to the preflight gate described there, so it works even with P:\ dismounted.
How to run
"<skill-dir>\stop_test.bat"
No arguments. Runs taskkill /IM DayZDiag_x64.exe /F. A thin .bat is enough because the whole job is one taskkill call.
Exit codes
| taskkill result | Output | Exit |
|---|---|---|
| Processes killed | One SUCCESS: line per process |
0 |
| No process running (errorlevel 128) | [OK] No DayZDiag_x64.exe processes running. only |
0 |
| Any other failure (e.g. access denied) | taskkill's error, then [FAIL] taskkill failed with errorlevel N. |
N |
taskkill's error output is captured and dropped only for errorlevel 128 (its "process not found" line); for every other result it is re-printed on stderr, so real failures stay visible.
Scope
- Only
DayZDiag_x64.exe. RetailDayZ_x64.exe,DayZServer_x64.exeandDayZLauncher.exebelong to normal play and are left alone. - Doesn't clean logs or state (that's
/dayz-clean-workspace), unmountP:\, or remove junctions. - No confirmation prompt: stop is a fast escape.