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 #1698 is a reply to message #1672] Tue, 14 March 2006 08:31 Go to previous messageGo to previous message
gprentice is currently offline  gprentice
Messages: 260
Registered: November 2005
Location: New Zealand
Experienced Member
Quote:


Capturing output is relatively easy; feeding input is IMHO a trouble - the general problem is that current APIs do not give you a hint when user is allowed to feed that input (in other words, so far I have not found a way how to detect that slave process is waiting for the user input).

In fact, I would be glad if some such way would existed, that would allow me to improve "console mode" of executing programs in TheIDE....



I'm lost. Don't you just "feed the input" when the user presses a key or sends a file - it's up to the user to know when the slave process will accept input ???

(except when the user explicitly enables XON/XOFF (software flow control) or RTS/CTS/DTR (hardware flow control))

Graeme
 
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 21:01:16 CEST 2024

Total time taken to generate the page: 0.02663 seconds