As far as I know stderr is a write-only stream so if something has already been sent to stderr, you won't be able to retrieve it in the same process. But you should be able to redefine std::cerr to something else and intercept the text before it reaches stderr. This is strictly a C++ issue though.
Bookmarks