Kga Agk wrote: > Kga Agk wrote: >> >> I have testet it om some programms, and it gets most outputs. But thee >> is some output to the console i havent managed to catch. Might it be a >> non standard output? How do i catch it? Is thee som way to catch >> everything that are written to det consol, and not only the standard >> output ? > > > Ops, i asked for input earlier. But now i'm after output. I want to > collect all kind of outputs that the program send to the commandline. I > now how to catch most of it by using somthing simmilar to the > description above, only with $stdout insted. But it dont catch > everything. There is some outputs to the command line it dont catch. I > dont now what kind of output it is, but it is a error message and > printet in red in eclipse Hehe, i'm a clutterhead. It was just an stderr output. -- Posted via http://www.ruby-forum.com/.