Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

redirect stderr

Status
Not open for further replies.

hennep

Programmer
Dec 10, 2000
429
I want to redirect the output from console app to a win32 app.
I don't mind to create a temp file an read this into my program.
BUT the console app writes to stderr instead of stdout.
How can this be solved ?

thanks,
Hennie Peters

PS. I don't have the source from the console application.
 
On a console app, you should be able to run the app and redirect its output to a file using a > (redirection) symbol. You might want to look at the redirection and the pipe (|) symbols for more information.
James P. Cottingham

I am the Unknown lead by the Unknowing.
I have done so much with so little
for so long that I am now qualified
to do anything with nothing.
 
That was the first thing I tried, stdout is redirected to a file but this program writes to stderr (I think).

Hennie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top