Top "Stdout" questions

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

Python 2.x - Write binary output to stdout?

Is there any way to write binary output to sys.stdout in Python 2.x? In Python 3.x, you can just …

python binary stdout
Multiple inputs and outputs in python subprocess communicate

I need to do something like this post, but I need to create a subprocess that can be given input …

python subprocess stdout stdin pexpect
Understanding stdin stdout stderr

I'm trying to understand stdin stdout and stderr. I see them used in people's code all the time and I …

stdout stdin stderr
Python multiprocessing: How can I RELIABLY redirect stdout from a child process?

NB. I have seen Log output of multiprocessing.Process - unfortunately, it doesn't answer this question. I am creating a …

python windows stdout multiprocessing stderr
Call another click command from a click command

I want to use some useful functions as commands. For that I am testing the click library. I defined my …

python command-line-arguments stdout piping python-click
Output raw image from Imagick image in PHP

I'm using Imagick lib to do some modifications to original image. Then I'd like to output it directly to browser …

php stdout imagick
How to change the stdin and stdout encoding on Python 2

I'm using Windows and Linux machines for the same project. The default encoding for stdin on Windows is cp1252, and …

encoding stdout stdin python-2.x
Python logging module having a formatter causes AttributeError

I am writing a terminal application, which, after passing in -v option, gets, unsurprisingly, verbose. I want to have the …

python logging stdout standard-library attributeerror
Capture and display STDOUT at the same time

I have the following code to capture and process the Run command output. How do I modify it such that …

stdout autoit
Redirect both cout and stdout to a string in C++ for Unit Testing

I'm working on getting some legacy code under unit tests and sometimes the only way to sense an existing program …

c++ unit-testing stdout legacy-code