Rx Window
Henry
As Ben says, you have to writech() or writeln() to the window.
However, since you are trying to redirect AmigaDOS commands, this is not
normally possible.
It is probably possible if you muck about with _STDOUTs etc., but this means
getting your hands *really* dirty and is probably not worth it!
Your best bet is to redirect the output to a temporary file, and then read and
print the file out, something like this:
/* */
call open('Output','con:10/10/300/100','w')
/* remember to check that your cd is correct */
ADDRESS COMMAND 'delete >t:temp #?.o'
success = open('tempfile','t:temp','r')
/* check file is ok..*/
data = readch('tempfile',65534)
call writech('Output',data)
good luck
Alex