|
-
June 28th, 2002, 01:32 PM
#1
Capturing stdout, stderr into a string
Sorry, made an error in the title, hence posting again.
Hi Gurus,
I want to capture the stdout/stderr from a system() command into a string. How would I do this? I know I can capture into a file, but how into a string? Do I have to capture in a file, and then read the file? That sucks!
Kamran
P.S. Only portable solutions please (no MFCs)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|