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

Windows triggerRestart() not working #51

Open
chicknsoup opened this issue Apr 7, 2020 · 2 comments
Open

Windows triggerRestart() not working #51

chicknsoup opened this issue Apr 7, 2020 · 2 comments

Comments

@chicknsoup
Copy link
Contributor

Similar to watchParrent(), we cannot send signals between windows processes, so triggerRestart() obviously does not work.

To fix this, we have to find a way to send/receive messages between master/slave processes.

  • gRPC over tcp
  • RESTful
  • Windows API (like postmessage/sendmessage)

What do you think? @jpillora

@jpillora
Copy link
Owner

jpillora commented Apr 7, 2020 via email

@chicknsoup
Copy link
Contributor Author

Yes, recent versions of Windows support AF_UNIX, so net.ListenUnix works. Just did a quick test on my Windows 10 machine, it works as expected.

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

No branches or pull requests

2 participants