livecode in terminal? (linux)

Mark Wieder ahsoftware at sonic.net
Mon Aug 10 23:02:15 EDT 2020


On 8/10/20 7:31 PM, Eric A. Engle via use-livecode wrote:
> is there any way to invoke the livecode engine from the terminal in linux?
> 
> 
> suppose e.g. i wanted to run "put 7" or "put 3 + 2" from xterm or such. Is that possible? If so, how?
> 
> Or e.g. running a stack or script from the terminal? If so, how?

Yep. I use the server build that way. Who needs a GUI?
Just invoke it from the command line, i.e.

./livecode-community-server test.lc

where test.lc is

<?lc
put "hello world" & cr
put "3+2=" && 3+2
?>

-- 
  Mark Wieder
  ahsoftware at gmail.com




More information about the use-livecode mailing list