Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: process.kill("SIGABRT") not supported on windows #4308

Merged
merged 3 commits into from
Mar 7, 2024

Conversation

lmisea
Copy link
Contributor

@lmisea lmisea commented Mar 7, 2024

Closes: #4307

What are the changes and their implications?

  • Use process.kill("SIGINT") instead of process.kill("SIGABRT") on startCustomServer() at next-utils.ts on blitz package.
  • This solves a minor Windows compatibility issue because process.kill("SIGABRT") is not supported on Windows.

Bug Checklist

  • Changeset added (run pnpm changeset in the root directory) (patch bump)
  • Integration test added (see test docs if needed)

Feature Checklist

Copy link

changeset-bot bot commented Mar 7, 2024

🦋 Changeset detected

Latest commit: 26e104d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
blitz Patch
next-blitz-auth Patch
@blitzjs/auth Patch
@blitzjs/next Patch
@blitzjs/rpc Patch
@blitzjs/codemod Patch
@blitzjs/config Patch
@blitzjs/generator Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@lmisea lmisea changed the title fix: process2.kill("SIGABRT") not supported on windows fix: process.kill("SIGABRT") not supported on windows Mar 7, 2024
Copy link
Member

@siddhsuresh siddhsuresh left a comment

Choose a reason for hiding this comment

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

Hey @lmisea thanks for the PR! LGTM!

Can you run pnpm changeset and set the type to patch for blitz in the root directory to create the changeset explaining this change (it will be included in the release)

Another way would be clicking here,
image

@lmisea lmisea requested a review from siddhsuresh March 7, 2024 17:41
@kodiakhq kodiakhq bot merged commit 76a2544 into blitz-js:main Mar 7, 2024
30 checks passed
@blitzjs-bot
Copy link
Contributor

Added @lmisea contributions for doc and code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Windows Compatibility Issue: process.kill("SIGABRT") not supported
3 participants