Re: CGI and euc
- Posted by jimcbrown (admin) Jan 14, 2013
- 2433 views
One should read the friendly manual, or at least the friendly wiki, especially the bit that says
On Windows you should always use eui.exe to run CGI programs, or you may have problems with standard output.
This just refers to using eui.exe over euiw.exe (as euiw.exe typically doesn't write stuff to standard output).
because even when you run a script through euc, the binary doesn't behave itself.
Remember that you have to pass the -con option to euc, or else the binaries will be like euiw.exe (unable to write to standard output).
In my case, the binary sat in memory chewing 25% of CPU. Eventually, there were four in there chewing 100% of my CPU.
Now there's no Euphoria binaries in memory and I'm seriously considering using some other compiler for CGI EXEs. (Yes, I know I don't have to do CGI EXEs but I want to.)
Can someone tell me what I have to do to build a Euphoria EXE that will work as a CGI?
Irritated, irate and irrationally yours,
Bugmagnet.
What version of Euphoria and which C compiler (and the C compiler version) did you use to build?