Re: Help with pipe io
- Posted by jbrown1050 at yahoo.com Mar 28, 2002
- 345 views
On 0, Robert Craig <rds at RapidEuphoria.com> wrote: > > jbrown writes: > > you'll see that echo outputs a bunch of garbage > > instead of "Hello World!" > > I'm not sure what your specific problem is, > but on Linux, ncurses has a bug that causes > stderr and stdout to be mixed together. > If stdout from your Euphoria Linux program is redirected > to a file, and your program also tries to print something > to the screen, you may find the screen output plus > a bunch of ncurses control characters mixed into the file. > > Regards, > Rob Craig > Rapid Deployment Software > http://www.RapidEuphoria.com > Thanks, but thats not my exact problem. I get garbage when i call and redirect any program which uses arguments. I think its a problem with the way I'm setting up the array. BTW, What I'm trying to do is redirect stdin, stdout, and stderr of a program to pipes for interprocess communication, just in case someone else has figured this out already. (I know about filelib.e and pipelib.e by the way, and Jeffrey Fielding has done a very good job with them, but I want full duplex, not half-duplex, pipe io.) --