Skip to content

Use os.Exit() instead of syscall.Kill() which does not work on Windows#1491

Merged
Brian Strauch (brianstrauch) merged 2 commits intomainfrom
fix-syscall
Oct 27, 2022
Merged

Use os.Exit() instead of syscall.Kill() which does not work on Windows#1491
Brian Strauch (brianstrauch) merged 2 commits intomainfrom
fix-syscall

Conversation

@brianstrauch

Checklist

  1. [CRUCIAL] Is the change for CP or CCloud functionalities that are already live in prod?
    • yes: ok

What

  • Windows build is failing, and I didn't notice in CI because of the flaky Windows failure of make lint on Azure :(
  • syscall.Kill() doesn't work on Windows, but os.Exit() serves the same purpose here and should be cross-platform.

Copy link
Member

Choose a reason for hiding this comment

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

🤞

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