Top "Stdout" questions

The standard output stream (stdout) is the stream where a program writes its output data.

How to execute a command and get return code stdout and stderr of command in C++

Given the following answer (first c++11 answer): How do I execute a command and get the output of the command …

c++ c++11 process stdout stderr
How to capture standard output of a shell command in elisp?

I want to run a shell command within Emacs and capture the full output to a variable. Is there a …

emacs elisp stdout capture
"couldn't make stderr distinct from stdout" when running Cygwin commands

I am trying to setup some old version of Cygwin on my Windows 7 x64 OS. So far so good. Now …

windows-7 cygwin stdout stderr
Writing a pytest function for checking the output on console (stdout)

This link gives a description how to use pytest for capturing console outputs. I tried on this following simple code, …

python printing stdout pytest
fflush(stdout) in c

Right when I am at fflush(stdout) and I break there in GDB, can I know what is there in …

c stdout fflush
PHP writing lots of text to STDERR

When writing a large chunk to STDOUT in PHP you can do this: echo <<<END_OF_STUFF …

php echo stdout stderr
How to detect if the console does support ANSI escape codes in Python?

In order to detect if console, correctly sys.stderr or sys.stdout, I was doing the following test: if hasattr(…

python console stdout ansi-escape windows-controls
Why does printf() not print anything before sleep()?

I'm just learning C with Kernighan and Ritchie's book; I'm in the basics of the fourth chapter (functions stuff). The …

c stdout buffering
dup, dup2, tmpfile and stdout in python

This is a follow up question from here. Where I want do go I would like to be able to …

python stdout io-redirection dup2 dup
Custom C++ cout class - output to both console and log file

I'm working on a program that makes heavy use of "cout << strSomething;" to log information to the console. …

c++ console stdout cout