Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Extra libraries, Code snippets, applications etc. » C++ language problems and code snippets » capturing stdout/err/in of subprocess
Re: capturing stdout/err/in of subprocess [message #1704 is a reply to message #1703] Tue, 14 March 2006 12:00 Go to previous messageGo to previous message
lundman is currently offline  lundman
Messages: 175
Registered: March 2006
Location: Tokyo
Experienced Member

No idea about cmd.exe, but for Unix, if you type on the commandline and you are talking about if things echo or not is all down to tty mode, if its cooked or raw, in line mode, or char by char.

Nearest cmd equivalents seem to be SetConsoleMode(), or WaitForInputIdle().



For those spawning processes and sending/receiving IO to them which to do so portably, I can recommend my own LiON library.

http://www.lundman.net/wiki/index.php/LiON

which we are using in our U++ we have just started.

Lund
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New EH handling in MinGW
Next Topic: DLL and U++ type
Goto Forum:
  


Current Time: Sat May 04 09:53:42 CEST 2024

Total time taken to generate the page: 0.01821 seconds