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

Mike Bonner bonnmike at
Fri May 5 10:22:51 EDT 2017

Is there a specific reason you need to use a built exe for this?  lc server
can use stack files (start using path/to/stack) as well as "include"ing or
"require"ing extra script files, so unless you're using functionality only
available in the desktop version of lc, you might be able to bypass the
need to shell to your exe.  This keeps the nice benefit of having instanced
runs controlled by a nice solid apache server.

On Fri, May 5, 2017 at 6:36 AM, Malte Brill via use-livecode <
use-livecode at> wrote:

> Hi Roger,
> indeed, I have considdered that. But I have no experience on how this
> would behave. Actually what I was trying to do is reducing the involved
> components, instead of introducing more and more over the course of
> building the system. LC - Server came natural there, as it would have
> allowed me to use liveCode inline and having the proven stability of
> Apache, which is needed for other purposes in the project also. It is so
> unfortunate, that LC-server gets me to 95% of what I need to do and then
> you need to revise your decisions, because some things that you would
> expect to work, just won’t. I can most certainly move everything that is
> needed into a liveCode client, but I would not want to do that because of
> apllication design reasons. Pitty. If I were to set up a faceless app as a
> service / daemon, I am not too sure if I would do it in LC, given that it
> would be a single threaded process and I might need concurrency. The pretty
> part of the CGI approach is that it starts an instance per connection that
> then can act individually. Well, back to whiteboard I guess.
> Thanks a lot,
> Malte
> > 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.
> >
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:

More information about the use-livecode mailing list