LiveCode post 3.5 on Linux boxes with no display

Ben Rubinstein benr_mc at cogapp.com
Fri Sep 16 13:47:08 CDT 2011


On 16/09/2011 14:27, Richard Gaskin wrote:
> Better yet, you can test it yourself - Debian 4.0 server:

You're right - it is working!  Hurrah!

It appears that the real change is just that '-ui' no longer sets the 
environment to "command line".

Unfortunately my test stacks all had the simple code (similar to your one) in 
openstack but wrapped in a test for the environment = "command line".  It now 
returns "standalone application", regardless of the -ui flag; so my test 
stacks weren't doing the stuff they were supposed to, my real stack was 
attempting to do stuff it shouldn't, and neither was quitting.

So that's much better.  I've snagged this at RQCC (#9734).  In the meantime, 
is anyone aware of a built-in method, other than "the environment" to detect 
running headless?  (Obviously if not I can work around it by adding some extra 
command-line parameters of my own, but that only works if I remember to...).

Many thanks for taking the time to set me straight...

Ben



More information about the use-livecode mailing list