Skip to content

check taskkill return code on Windows to detect failures#281

Merged
pradeeban merged 1 commit intoControlCore-Project:devfrom
avinxshKD:fix-windows-stop-false-success
Feb 13, 2026
Merged

check taskkill return code on Windows to detect failures#281
pradeeban merged 1 commit intoControlCore-Project:devfrom
avinxshKD:fix-windows-stop-false-success

Conversation

@avinxshKD
Copy link

On Windows, taskkill failures (access denied, process not found, etc.) were silently ignored. The process would be reported as "successfully stopped" even when it's still running. Now we check the return code and raise an exception so the existing error handler can report the actual failure. thanks

Fixes #280

@pradeeban pradeeban merged commit aa1c5ca into ControlCore-Project:dev Feb 13, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants