Import Signal On Windows Bug

This bug was reported in Version 1.2, and was present in Version 1.0, and Version 1.1. It was fixed in Version 2.0.

Description:

python cloud-wiki help
Traceback (most recent call last):
 File "cloud-wiki", line 10, in ?
  from signal import SIGHUP, SIG_IGN, SIGKILL, SIGTERM, signal
ImportError: cannot import name SIGHUP

Solution 1: Reproduce SIGHUP / SIGKILL on Windows

Windows deployments of Python do not provide the signal module, and probably have some significant differences in how they handle process kill and signalling. The solution would be to create a named pipe for carrying the equivalent of SIGHUP, and use the existing os.kill for SIGKILL. An additional configuration setting cmd-pipe would be used to store the name of the pipe in the database.

Solution 2: Require Windows users use CGI

Cloud Wiki may add a second method of integration with an existing web server, by supporting CGI invocation. Since the CGI's will not be competing for a server port, this bug's impact is diminished on Windows platforms using the wiki as a CGI.

This is an entry in the bug list.