[pstreams-devel] [ pstreams-Support Requests-2012630 ] Getting both the stdout and the stderr
Brought to you by:
redi
|
From: SourceForge.net <no...@so...> - 2008-07-07 15:38:42
|
Support Requests item #2012630, was opened at 2008-07-07 17:38 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=453893&aid=2012630&group_id=48695 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Priority: 5 Private: No Submitted By: drhilbert (drhilbert) Assigned to: Nobody/Anonymous (nobody) Summary: Getting both the stdout and the stderr Initial Comment: Dear Redi, first of all thank you very much for this library because I was looking for something like this since a long time. I have two questions for you: 1. Can you explain better which is the difference between pstream and rpstream? 2. A bit more complicated. I need to execute a program that outputs messages on both the stdout and the stderr. Of course I would like to catch both and re-direct them through my ostream possibly in the same order they are generated. What should I use, pstream or rpstream? Should I open the (r)pstream with ( pstdout | pstderr ) ? How do I get the right order of messages? It would be very nice of you if you can provide a simple example... Cheers, hilbert ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=453893&aid=2012630&group_id=48695 |