summaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authorGraham Dumpleton <Graham.Dumpleton@gmail.com>2021-05-14 12:23:22 +1000
committerGraham Dumpleton <Graham.Dumpleton@gmail.com>2021-05-14 12:23:22 +1000
commit2f12c708b868d7dd61d1747e58ab0ec37ab69e5b (patch)
treefd4d773ddad10eee5627039f0bed0d03aac27f84 /src/server
parente42e92c80955d5721b663a9da21c3b29dd01a879 (diff)
downloadmod_wsgi-2f12c708b868d7dd61d1747e58ab0ec37ab69e5b.tar.gz
Add warning about incomplete Windows support.
Diffstat (limited to 'src/server')
-rw-r--r--src/server/__init__.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/server/__init__.py b/src/server/__init__.py
index 8cd0463..5702801 100644
--- a/src/server/__init__.py
+++ b/src/server/__init__.py
@@ -3633,6 +3633,16 @@ def cmd_start_server(params):
return
if os.name == 'nt':
+ print()
+ print("WARNING: The ability to use the start-server option on Windows")
+ print("WARNING: is highly experimental and various things don't quite")
+ print("WARNING: work properly. If you understand a lot about using")
+ print("WARNING: Python on Windows and Windows programming in general,")
+ print("WARNING: and would like to help to get it working properly, then")
+ print("WARNING: you can ask about Windows support for the start-server")
+ print("WARNING: option on the mod_wsgi mailing list.")
+ print()
+
executable = config['httpd_executable']
environ = copy.deepcopy(os.environ)
@@ -3811,7 +3821,7 @@ def main():
cmd_module_config(args)
elif command == 'module-location':
cmd_module_location(args)
- elif command == 'x-start-server':
+ elif command == 'start-server':
cmd_start_server(args)
else:
parser.error('Invalid command was specified.')