Re: Redirecting the console output in WinXP
- Posted by jacques deschĂȘnes <desja at globetrotter.net> Jun 05, 2007
- 568 views
Hi Jesus, Try exwc myprogram.exw > output.txt Jesus Connsuegra wrote: > > Hi Euphorians!. > > Nice to see all of you still here. > I've been out of programming for quite long, but at the end, > hen a programming need does arise, one must ressort to the good old > Euphoria... > > 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. > > Any feedback will be very welcome. > Thanks in advance. > Jes.