Versions comparison: obscure feature

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
ale870
Posts: 250
Joined: Tue Apr 22, 2008 9:17 am
Contact:

Versions comparison: obscure feature

Post by ale870 » Mon Apr 05, 2010 7:34 pm

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!
Runtime Revolution Widgets, tutorials, tips & tricks and more!
http://runrevwidgets.com/wiki

RRobert
Posts: 151
Joined: Sat Feb 28, 2009 8:20 pm

Re: Versions comparison: obscure feature

Post by RRobert » Tue Apr 06, 2010 1:27 am

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

ale870
Posts: 250
Joined: Tue Apr 22, 2008 9:17 am
Contact:

Re: Versions comparison: obscure feature

Post by ale870 » Tue Apr 06, 2010 1:43 am

As per my knowledge, that option was disabled in version 4.0.
Runtime Revolution Widgets, tutorials, tips & tricks and more!
http://runrevwidgets.com/wiki

RRobert
Posts: 151
Joined: Sat Feb 28, 2009 8:20 pm

Re: Versions comparison: obscure feature

Post by RRobert » Tue Apr 06, 2010 2:08 am

It works under Linux + Mac OS by default and is also possible under Windows with a trick.

Robert

RRobert
Posts: 151
Joined: Sat Feb 28, 2009 8:20 pm

Re: Versions comparison: obscure feature

Post by RRobert » Tue Apr 06, 2010 3:46 pm

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

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Re: Versions comparison: obscure feature

Post by BvG » Wed Apr 07, 2010 1:44 am

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.
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

RRobert
Posts: 151
Joined: Sat Feb 28, 2009 8:20 pm

Re: Versions comparison: obscure feature

Post by RRobert » Wed Apr 07, 2010 2:38 am

But with the trick it works also under RunRev 4.

Robert

Post Reply