Page 1 of 1

redirect console output?

Posted: Wed Jan 11, 2006 8:22 pm
by Nico
How redirect console output from another process ?

Any examle?

Posted: Wed Jan 11, 2006 9:08 pm
by Trond
Redirect to where?

Code: Select all

"cmd.exe", "/c program.exe < outfile.txt"
Or was the < really a >?

Posted: Thu Jan 12, 2006 1:11 am
by ricardo
There is some library for this, i think its El_Choni's one.

Posted: Thu Jan 12, 2006 8:35 am
by traumatic
Trond wrote:Or was the < really a >?
Yes.


viewtopic.php?t=6544
viewtopic.php?t=7219