Inets, CGI, Python, and Windows, oh my!
Wed Feb 21 20:43:03 CET 2001
Or "Oh damn!" ;)
Anyone have any tips on running python cgi scripts under Inets under
Windows (gag) 98?
AFAICT, it's not going to work out of the box no matter how I diddle the
settings. mod_cgi:is_executable/1 seems incapable of recognizing *.py
files as executables because, well, they *aren't* to Windows, or rather,
to *dos* (yuck!).
(Note that os:find_executable(python) works, so the python executable is
in my PATH variable.)
Even if it would find the interpereter, it's not clear that it will get
any results or even execute the script.
doesn't work. It doesn't execute the script (though sometimes it *does*
os:cmd("python -c \"import tester; tester.test()").
*does* work and even gets the results.
Oh the pain.
Any hints like suffering souls care to share?
More information about the erlang-questions