Executing Livecode Server from command line
bonnmike at gmail.com
Wed Dec 4 20:33:25 EST 2013
You can also use the #! method to make it run.
Set your script to executable and add:
as the first line. Bash will see the first line and execute the script as
an argument to the program listed on the #! line. (like shell scripts start
with #!/bin/bash or #!/bin/sh or whatever shell is being used)
The problem with this method is that (unless it has been changed) livecode
server doesn't know to ignore #! lines and will dump it to stdout followed
by whatever your script puts out.
On Wed, Dec 4, 2013 at 1:44 PM, Warren Samples <warren at warrensweb.us> wrote:
> On 12/04/2013 12:57 PM, stephen barncard wrote:
>> I've seen some forum posts that indicate there might be a problem
>> Livecode Server from the command line.
>> At any rate, just typing the name of the iRev file
>> " and hitting return doesn't run the script.
>> error returned:
>> -bash: livecode-server-test_Color.irev: command not found
>> this script runs fine on the web
>> I obviously don't spend a lot of time in Terminal.
>> Is it broken or am I just being dumb?
> Put the path to the livecode server executable + space + path to script or
> file you want to run.
> It should work.
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the Use-livecode