Top "Stdout" questions

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

Python Popen().stdout.read() hang

I'm trying to get output of another script, using Python's subprocess.Popen like follows process = Popen(command, stdout=PIPE, shell=…

python subprocess stdout popen freeze
subprocess.Popen.stdout - reading stdout in real-time (again)

Again, the same question. The reason is - I still can't make it work after reading the following: Real-time intercepting …

python subprocess stdout popen
Redirect stdout+stderr on a C# Windows service

I've written a Windows service in C# using the ServiceBase helper. During its execution, some procedures in an external native …

c# .net windows-services stdout stderr
How to store the output of a command in a variable at the same time as printing the output?

Say I want to echo something and capture it in a variable, at the same time I see it in …

bash stdout gnu
How do I get 'real-time' information back from a subprocess.Popen in python (2.5)

I'd like to use the subprocess module in the following way: create a new process that potentially takes a long …

python subprocess stdout popen
Redirect stdout and stderr to the same file and restore it

I am redirecting the output of stderr and stdout of my c program to two files and then restoring the …

c redirect stdout output stderr
Redirect nohup's stderr to nohup.out

How do I run a command with nohup so that both the stdout and stderr are saved to nohup.out? …

bash shell stdout stderr nohup
PwnTools recv() on output that expects input directly after

Hi I have a problem that I cannot seem to find any solution for. (Maybe i'm just horrible at phrasing …

python stdout stdin pwntools
Set a Read-Only Attribute in Python?

Given how dynamic Python is, I'll be shocked if this isn't somehow possible: I would like to change the implementation …

python python-2.7 stdout readonly-attribute
Trouble with dup2, stdout, and stderr

When this program is run, the "stderr" line is displayed before the "stdout" line. Why? I thought dup2 would make …

c fork stdout stdin dup2