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 #1705 is a reply to message #1703] |
Tue, 14 March 2006 12:04 |
|
mirek
Messages: 13980 Registered: November 2005
|
Ultimate Member |
|
|
Quote: |
You're right, I don't understand (though I was trying to respond to Wilho). But however, I'm curious. I've only used Linux terminal a little but like many people, I use cmd.exe a lot and I'm struggling to see where cmd.exe performs the echoing of user input you refer to e.g. if I do CL /?, the "CL" application is fed keys and does its own echoing (if any) - cmd.exe doesn't do the echoing. I would have thought any echoing is done by the application itself, via stdout.
|
void main() { getchar(); }
Start that. The program will stop, allowing you to enter the line of input characters. Now this "enter the line of characters" is that "echoing" I am speaking about. And, AFAIK, this is not done by program, but terminal (in any case, it is terminal responsibility that if you press backspace, last character is removed from the input line).
Quote: |
Any way, not to worry. I don't know how to build an atomic bomb either ...
|
Explaining to you always pays off... Usually it leads to solving the problem. I am not sure why, but it is almost a rule
Mirek
|
|
|
|
|
capturing stdout/err/in of subprocess
By: wilho on Mon, 13 March 2006 14:21
|
|
|
Re: capturing stdout/err/in of subprocess
By: mirek on Mon, 13 March 2006 14:50
|
|
|
Re: capturing stdout/err/in of subprocess
|
|
|
Re: capturing stdout/err/in of subprocess
By: mirek on Tue, 14 March 2006 09:22
|
|
|
Re: capturing stdout/err/in of subprocess
By: wilho on Tue, 14 March 2006 08:53
|
|
|
Re: capturing stdout/err/in of subprocess
|
|
|
Re: capturing stdout/err/in of subprocess
By: mirek on Tue, 14 March 2006 10:54
|
|
|
Re: capturing stdout/err/in of subprocess
|
|
|
Re: capturing stdout/err/in of subprocess
By: lundman on Tue, 14 March 2006 12:00
|
|
|
Re: capturing stdout/err/in of subprocess
By: mirek on Tue, 14 March 2006 12:04
|
|
|
Re: capturing stdout/err/in of subprocess
|
|
|
Re: capturing stdout/err/in of subprocess
By: mirek on Wed, 15 March 2006 09:59
|
|
|
Re: capturing stdout/err/in of subprocess
By: mr_ped on Fri, 17 March 2006 10:52
|
|
|
Re: capturing stdout/err/in of subprocess
By: mirek on Fri, 17 March 2006 12:08
|
|
|
Re: capturing stdout/err/in of subprocess
By: fudadmin on Fri, 17 March 2006 12:11
|
|
|
Re: capturing stdout/err/in of subprocess
By: mirek on Fri, 17 March 2006 12:23
|
|
|
Re: capturing stdout/err/in of subprocess
|
|
|
Re: capturing stdout/err/in of subprocess
By: mirek on Fri, 17 March 2006 23:25
|
|
|
Re: capturing stdout/err/in of subprocess
|
|
|
Re: capturing stdout/err/in of subprocess
By: lundman on Sat, 18 March 2006 01:01
|
|
|
Re: capturing stdout/err/in of subprocess
By: mirek on Sat, 18 March 2006 08:47
|
|
|
Re: capturing stdout/err/in of subprocess
By: wilho on Sat, 18 March 2006 14:33
|
|
|
Re: capturing stdout/err/in of subprocess
By: lundman on Sat, 18 March 2006 15:05
|
Goto Forum:
Current Time: Tue May 14 10:49:39 CEST 2024
Total time taken to generate the page: 0.02658 seconds
|