Top "Stdout" questions

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

How to redirect the output back to the screen after freopen("out.txt", "a", stdout)

#include <stdio.h> int main() { printf("This goes to screen\n"); freopen("out.txt", "a", stdout); printf("This …

c posix stdout
read QProcess output to string

I have a code that uses QProcess like this. int main(int argc, char *argv[]) { int status=0; QProcess pingProcess; QString …

c++ qt stdout qstring qprocess
Running an interactive command from within Python

I have a script that I want to run from within Python (2.6.5) that follows the logic below: Prompts the user …

python subprocess stdout stdin interactive
How can I display the output of a Opscode Chef bash command in my console?

I use Vagrant to spawn a standard "precise32" box and provision it with Chef so I can test my Node.…

bash stdout chef-infra vagrant
Difference between $stdout and STDOUT in Ruby

In Ruby, what is the difference between $stdout (preceded by a dollar sign) and STDOUT (in all caps)? When doing …

ruby stdout stderr output-redirect
How to close stdout and stderr in C?

I need to close stdout and stderr for one of my C program. How is it possible without exiting the …

c stdout stderr
Capturing process output via OutputDataReceived event

I'm trying to capture process output in "realtime" (while it's running). The code I use is rather simple (see below). …

c# process stdout
How can I redirect stdout to some visible display in a Windows Application?

I have access to a third party library that does "good stuff." It issues status and progress messages to stdout. …

c++ c windows user-interface stdout
Continuously read from STDOUT of external process in Ruby

I want to run blender from the command line through a ruby script, which will then process the output given …

ruby shell process stdout stdin
How to get STDOUT from a QProcess?

I thought I was going to get the output from a QProcess using the following code: // Start the process process.…

qt process stdout qprocess