Skip to content

ci(windows): use native PowerShell Stop-Process to avoid taskkill exit code 128 - #11

Merged
praveshkhatana merged 1 commit into
mainfrom
cody/fix-stop-process-exit-code
Sep 5, 2026
Merged

ci(windows): use native PowerShell Stop-Process to avoid taskkill exit code 128#11
praveshkhatana merged 1 commit into
mainfrom
cody/fix-stop-process-exit-code

Conversation

@praveshkhatana

Copy link
Copy Markdown
Contributor

Summary

Replace taskkill with native PowerShell Get-Process ... | Stop-Process -Force -ErrorAction SilentlyContinue so that when a process is already stopped, no non-zero exit code (128) is set on $LASTEXITCODE.

@pegify pegify Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Cody] LGTM

@praveshkhatana
praveshkhatana merged commit 48f0022 into main Sep 5, 2026
2 checks passed
@praveshkhatana
praveshkhatana deleted the cody/fix-stop-process-exit-code branch September 5, 2026 22:51
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.

1 participant