Re: Redirecting the console output in WinXP
Jesus Connsuegra wrote:
> This time I've run into trouble when trying to redirect the console output
> to a file. I'm running my program on a WinXP machine. This happens with
> both Euphoria 3.0.2 and 3.1.
>
> If I use
> }}}
<eucode>
> printf(1,"%s",{"my string"})
> </eucode>
{{{
> to send the output to the standard output, and from the command line I do
> }}}
<eucode>
> exw myprogram.exw > output.txt
> </eucode>
{{{
>
> I get the output.txt file created with lenght zero, and all the output goes
> to the console... So I'm afraid I'm doing something wrong or there is a glitch
> on this.
Try using exwc instead of exw.
exwc is the "console mode" version of exw.
It handles I/O redirection much better.
Regards,
Rob Craig
Rapid Deployment Software
http://www.RapidEuphoria.com
|
Not Categorized, Please Help
|
|