Windows support
Sorry to be THAT guy that uses windows 😄
When trying to run kpcli in a windows box I'm greeted by an AttributeError
File "C:\Users\___\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\kpcli\cli.py", line 26, in <module>
signal.signal(signal.SIGALRM, inputTimeOutHandler)
AttributeError: module 'signal' has no attribute 'SIGALRM'
This seems to be related to alarm(2) not being available on windows [1].
Looking at the code, it seems it is being used to raise an error when the input is hanging for too long (as a security measure I guess?).
Is there any way we can work around this limitation for windows users?
[1] https://docs.python.org/3/library/signal.html#signal.SIGALRM
Hi there, I wrote this package as a tiny utility for my own use. While it's great that others are finding it useful, I'm afraid I don't have time - and being a mac/linux user, I don't really have the time or motivation - to add windows support. PRs welcome though :)