I would like to call a Rebol script to do some housekeeping from a  
Rebol CGI but when I try I have a problem that the output from the  
called script is appended to the output of the CGI script.

Here is the cgi script:

#!/Applications/Rebol/rebol -cs

REBOL []
print "Content-type: text/html^/"

print [<HTML><BODY>]
print ["From the CGI script"]
print [</BODY></HTML>]

call "/Applications/Rebol/rebol -cs called.r"

Here is the called script:

Rebol []
print "From the called script"

Here is the output received by the browser:

<HTML> <BODY>
 From the CGI script
</BODY> </HTML>
 From the called script

Any suggestions?

Regards

Peter

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to