Re: LiveCodeServer - Prints shebang line

2014-07-18 Thread Peter W A Wood
I've found that if you run a LiveCode script with a shebang line as a cgi script, the LiveCode Server process does not terminate (even with a quit command). I ran this simple script: #!/livecode-server set the outputLineEndings to "lf" put "Content-type: text/html" & cr

LiveCodeServer - Prints shebang line

2014-07-16 Thread Peter W A Wood
Hi Monte Many thanks. I updated to LiveCode Server 6.6.1 and then Shebang line is no longer printed. It also seems the the enclosing are no longer required. The script successfully runs at the command line. I still have a bit more investigation to in getting in to run as a CGI. Cheers Peter

Re: LiveCodeServer - Prints shebang line

2014-07-15 Thread Warren Samples
On 07/15/2014 08:46 PM, Monte Goulding wrote: Hi Peter One of the contributions I made just prior to christmas was to handle the shebang and basically put the script into We are pleased to announce the release of LiveCode 6.6. Release Contents ... * '#!' now recognised by server

Re: LiveCodeServer - Prints shebang line

2014-07-15 Thread Monte Goulding
Hi Peter One of the contributions I made just prior to christmas was to handle the shebang and basically put the script into wrote: > Somebody asked a question on the mailing list related to running LiveCode CGI > scripts using LiveCode Server - Livecode CGIs co-existing with old-school Rev >

Fwd: LiveCodeServer - Prints shebang line

2014-07-15 Thread Peter W A Wood
Somebody asked a question on the mailing list related to running LiveCode CGI scripts using LiveCode Server - Livecode CGIs co-existing with old-school Rev 2.x CGIs (Basically, he's trying to avoid changing the Apache configuration file). I don't see any reason that you can't use LiveCode Serve