Page 1 of 1

Versions comparison: obscure feature

Posted: Mon Apr 05, 2010 7:34 pm
by ale870
Hello,
in the versions comparison for RunRev versions, I found thi item:
Build “Faceless,” non-GUI applications and services
Can you tell me what does it mean? I have RunRev enterprise version, but I cannot write cgi (faceless) programs. And what are "services"?

Thank you!

Re: Versions comparison: obscure feature

Posted: Tue Apr 06, 2010 1:27 am
by RRobert
You could build CGI applications and services (daemons) with RunRev. You simply need to start the application with the argument -ui and put your code into the preopenstack handler.

Code: Select all

on preopenstack
put "Hello World :)"
quit
end preopenstack
Syntax: ./demo/demo -ui

Robert

Re: Versions comparison: obscure feature

Posted: Tue Apr 06, 2010 1:43 am
by ale870
As per my knowledge, that option was disabled in version 4.0.

Re: Versions comparison: obscure feature

Posted: Tue Apr 06, 2010 2:08 am
by RRobert
It works under Linux + Mac OS by default and is also possible under Windows with a trick.

Robert

Re: Versions comparison: obscure feature

Posted: Tue Apr 06, 2010 3:46 pm
by RRobert
RRobert wrote:It works under Linux + Mac OS by default and is also possible under Windows with a trick.
PS: You could find the Windows trick here.

Robert

Re: Versions comparison: obscure feature

Posted: Wed Apr 07, 2010 1:44 am
by BvG
It works on all platforms (without arcane tricks, as long as you don't try to use ISS) but not with the engines from 4.0. You need the previous version 3.5. If you do not have that one, mail support so that they give you a download or so.

Re: Versions comparison: obscure feature

Posted: Wed Apr 07, 2010 2:38 am
by RRobert
But with the trick it works also under RunRev 4.

Robert