1. Never a console
- Posted by Ralf <nieuwen at XS4ALL.NL> Apr 11, 2001
- 422 views
I have a major problem. When using Exw.exe I get a console window even when I don't want it. I'm using it for cgi-bin on a server. I must be sure they will not get any window, not even for a second, at all. How do I do this ? It must be able somehow, because if it isn't Euphoria couldn't be used for cgi-bin. So, please, Robert: if it isn't possible: *MAKE* it possible. I've tried everything .. but because its cgi-bin, I am forced to use standard input & output. The only work around I can imagine is store the input & the output and use a perl program to procces it. Thanx in advance, Ralf N.
2. Re: Never a console
- Posted by Michael Sabal <mikes at notations.com> Apr 11, 2001
- 409 views
For a cgi program, you should always use ex or exu, never exw. When = calling a program from your cgi script, use junk =3D system_exec(progname_and_parameters,2) to avoid a console window. HTH, Michael J. Sabal >>> nieuwen at XS4ALL.NL 07/01/01 01:23PM >>> =20 I have a major problem. When using Exw.exe I get a console window even = when I don't want it. I'm using it for cgi-bin on a server. I must be sure they will not get any window, not even for a second, at all.
3. Re: Never a console
- Posted by Ralf <nieuwen at XS4ALL.NL> Apr 11, 2001
- 386 views
> I'm not exactly sure if it would entirely suit your needs, but you > could check out the free_console() routine in the EU docs. > the routine is found in dll.e Thanx, Chris! However, it removes the console, which was happening automatically because the input & output are caught by the sytem. The problem is, the server can't have a window flashing by whenever a cgi-script is run. I will get kicked off within minutes. Does any one know perl ? Perhaps I could use a perlscript which started the euphoria program and then use a file for input & output, etc. Greetings, Ralf N.