Calling a livecode executable -ui from LC server and get back a result.

Roger Eller roger.e.eller at sealedair.com
Fri May 5 14:05:58 CEST 2017


Have you considered running a faceless Desktop app as a service, having it
watch for a socket message, or a file, or even clipboard content to signal
it to do something.  You could keep an account signed in with an app
running -with-or-without a UI.

~Roger

On Fri, May 5, 2017 at 6:48 AM, Malte Brill via use-livecode <
use-livecode at lists.runrev.com> wrote:

> Thanks Dan, but that is not what I am after…
>
> I have a server side liveCode application, which needs to talk to a couple
> of webservices from time to time. While this works nicely on the desktop,
> it does not do so on Server, as Server lacks some libURL functionality.
> First workaround was to shell out to cURL. This works nicely on Mac and
> Linux servers, but forever reason fails under Windows Server, which I need
> to support. So the next thought was to call a liveCode executable -ui when
> needed, but I do not get a result back there. I will not want to have a
> liveCode standalone running 24/7 on a server machine. I guess the easiest
> way out is to simply kill off the idea to treat liveCode server as a
> replacement for PHP and just bite the bullet and build everything in PHP
> instead. Or start an initiative to get libURL ported to server. I already
> talked to the guys in Scottland to see if this would be feasible, but it
> would cost a bit more than I could afford alone. I might just go with
> having the single command implemented I would need for the project
> (libURLLastRHHeaders), which then would also lift the requirements for
> having to use cURL or any other helper app in my case, but I am not quite
> sure if that makes sense…
>
> Would anybody else like to see libURL feature parity between Desktop and
> Server engines and if so be willing to set up a fundraiser with me for this?
>
> Cheers,
>
> Malte
>
> > You can communicate between server and desktop using sockets. Chatrev is
> a
> > good example of this
> > http://www.bjoernke.com/index.irev?target=chatrev
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


More information about the use-livecode mailing list