Comments (3)
@lengelberts I believe the issue is that the system, by default, is setting signal handlers for signals that are not supported in Windows. Here are the signals for which we register handlers:
kill_signals = (
2, # SIGINT
3, # SIGQUIT
6, # SIGABRT
15, # SIGTERM
)
but Windows does not support SIGQUIT (https://docs.python.org/2/library/signal.html#signal.signal).
One possible way to start would be to make a subclass of the signal handler that uses a different set of signals even if that is the same set minus SIGQUIT. I'm not sure what other changes would need to happen for Windows support as I originally made this library with the intent on managing daemons in a unix/linux type of environment.
from daemons.
Thank you @kevinconway for your quick reply! This seems to be a reasonable explanation indeed. In that case I will for now just avoid using Windows.
from daemons.
@kevinconway It might be nice to say in the setup.py that this package is only for MacOS and Unix. You can do this by for example adding
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: Unix",
"Operating System :: MacOS"
],
as an argument to setuptools.setup
.
from daemons.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from daemons.