I would liek to invisibly run a console application, capture it's output, and save its contents into a log window with an edit control. I know it's possible becuase i've seen it done, but how can I capture terminal output?
BountyX 7
Posting Whiz in Training
Recommended Answers
Jump to Posti'm not sure if this is the answer u want, b/c i dont fully understand what u mean by "log window", but if u run a program from DOS prompt like:
./program >outfile standard output is redirected to the file outfile. if u want to do that inside the …
Jump to Postugh, nevermind apparently windows doesn't support dup'ing
All 7 Replies
infamous 26
Junior Poster in Training
infamous 26
Junior Poster in Training
BountyX 7
Posting Whiz in Training
FireNet 64
Posting Whiz in Training
sarin 0
Newbie Poster
Ancient Dragon 5,243
Achieved Level 70 Team Colleague Featured Poster
krunalpatel1410 0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.