Sunanda Redefining 'print in the main script will not help as Peter is starting a new Rebol process to run the script. I presume output is going to the browser because he's using the -c flag .... but from what I can understand, he doesn't really want to run it as cgi.
On Sat, Dec 27, 2008 at 9:36 PM, Sunanda <[email protected]> wrote: > > One possibility is to redefine 'print before the call: > > saved-print: get in system/words 'print > print: func [data][] > ----code here to call other script----- > set in system/words 'print :saved-print > > You may also need to use the same trick on 'prin and 'probe. > > The replacement function could do something other than discard the > output -- for example, it could write it to a log file. > > Sunanda > -- > To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject. > > -- Graham Chiu http://www.synapsedirect.com Synapse - the use from anywhere EMR. -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.
