I am trying to run an extremely simple CGI server on a VMS made in python.
import sys from BaseHTTPServer import HTTPServer from CGIHTTPServer import CGIHTTPRequestHandler server_address=('',8080) httpd = HTTPServer(server_address, CGIHTTPRequestHandler) httpd.serve_forever()
The problem is that it serves static content correctly and tries to execute CGIs (it is in the right place, and I used these CGIs with Apache, so part is definitely not a problem), but it hangs somewhere. This is what I do not know about VMS.
Any pointer to the right direction will be appreciated. :)
Update: simplified, I need to run the program on VMS and somehow get the results of this program. Any links to the execution of subprocesses and obtaining their results are enough for me.
source share