Top "Stdout" questions

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

Java Process getOutputStream to String

Java 8 here. How does one read the data in Process#getOutputStream() into a String? I am trying to run a …

java stdout outputstream
Capturing stdout/stderr with NDK

I am porting some existing C code to run on Android. This C code writes lots of output to stdout/…

android c android-ndk stdout stdio
How to create a pseudo-tty for reading output and writing to input

I am using fork() and execvp() to spawn a process that must believe it is connected to an interactive terminal …

unix stdout stdin tty
Can't run HermesJMS from SOAP UI

I am trying to run HermesJMS from soapUI 5.2.1 on Windows7 x64 The preferences and path to hermes config are set …

stdout soapui stderr hermes-jms
How can I implement 'tee' programmatically in C?

I'm looking for a way in C to programmatically (ie, not using redirection from the command line) implement 'tee' functionality …

c stdout tee
Print STDOUT/STDERR and write them to a file in Bash?

Is there a way to have Bash redirect STDOUT/STDERR to a file yet still print them out to the …

linux bash stdout stderr io-redirection
Why does the print to stdout not happen when using fprintf?

I have this code: #include <stdio.h> #include <unistd.h> int main() { while(1) { fprintf(stdout,"hello-out"); …

c stdout stderr printf
Why is sys.getdefaultencoding() different from sys.stdout.encoding and how does this break Unicode strings?

I spent a few angry hours looking for the problem with Unicode strings that was broken down to something that …

python stdout utf sys
launch app, capture stdout and stderr in c++

How do I launch an app and capture the output via stdout and maybe stderr? I am writing an automated …

c++ process stdout capture launch
Output redirection doesn't work for a certain program

On Linux, I'm trying to redirect stdout from a console application to a file instead of console. I do not …

linux bash redirect stdout output-redirect