Commit d0f83799 authored by Jim Fulton's avatar Jim Fulton

Added support for command-line options, like -p.

parent bb0e7b77
"""Server Zope from a basic Python web server
"""
import ZopeHTTPServer, os
import ZopeHTTPServer, os, sys
ZopeHTTPServer.main(os.path.join(os.getcwd(),'lib','python','Main.py'))
args=sys.argv[1:]+[os.path.join(os.getcwd(),'lib','python','Main.py')]
ZopeHTTPServer.main(args)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment