Mail Archives: djgpp/1997/03/13/23:39:47
Emmanuel Proulx (emmanuelp AT corel DOT ca) wrote:
: The problem is that I cannot redirect the output of the
: compiler (STDERR) to a file so that CodeWright will
: be able to parse it. Any suggestions?
Use the redir utility; it should be in your bin subdirectory. Briefly, to
redirect stderr to stdout and then on to a file, you can use:
redir -o outfile.txt -eo myprog.exe
This means `run myprog.exe, redirecting stdout to outfile.txt and stderr
to the same place as stdout'. This will mix stderr with stdout; if you're
not interested in redirecting stdout you can change the -o to -e and get
rid of the -eo.
For more information, RTID (read the info docs :) ) or just type `redir'
for a brief option listing.
--
George Foot <mert0407 AT sable DOT ox DOT ac DOT uk>
Merton College, Oxford
- Raw text -