3 ms·
Suggestion to the author: try to use portalocker [1] so that the module can also work in Windows. Currently it doesn't because the code uses the fcntl module th
by dvfjsdhgfv 9y ago
Suggestion to the author: try to use portalocker [1] so that the module can also work in Windows. Currently it doesn't because the code uses the fcntl module that is *nix-only.
[1] https://pypi.python.org/pypi/portalocker https://pypi.python.org/pypi/portalocker
- zwischenzug 9y agoThanks - did you try it in windows? I use CygWin at work, but it would be great to use it natively also.
- dvfjsdhgfv 9y agoYes, it failed to import because of fcntl. Since you can't just replace fcntl with an equivalent win32api call, I suggest using portalocker. I usually log on *nix servers from a Windows desktop, so ShutIt could be an useful addition to my toolbox - once it works on Windows, that is.