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

[Feature][Daemon] Support daemon on windows #34

Merged
merged 4 commits into from
Apr 15, 2023

Conversation

AndPuQing
Copy link
Collaborator

@AndPuQing AndPuQing commented Apr 15, 2023

Type

Feature

Description

In this PR, I implemented the daemon functionality on Windows as requested in issue #32.

Implementation

Since os.fork() and the python-daemon library cannot be used on Windows, I used the win32service and win32serviceutil modules to achieve similar functionality.

We registered a service named NEETBOX on Windows and installed and started it in daemon/__init__.py.

Notes

⚠ Because installing the service requires Windows administrator privileges, please test it with administrator privileges.

@visualDust cc. @therainisme

@vercel
Copy link

vercel bot commented Apr 15, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
neetbox ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 15, 2023 8:16am

@visualDust
Copy link
Owner

? 意想不到的人来搅局了 (x)

@visualDust visualDust merged commit 1d3bf0f into visualDust:master Apr 15, 2023
@visualDust visualDust linked an issue Apr 15, 2023 that may be closed by this pull request
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.

Better X platform NEETBOX daemon
2 participants