tagged [stdout]

Redirect stdout to a file in Python?

Redirect stdout to a file in Python? How do I redirect stdout to an arbitrary file in Python? When a long-running Python script (e.g, web application) is started from within the ssh session and backgo...

5 Oct at 15:17

How to save the output of a console application

How to save the output of a console application I need advice on how to have my C# console application display text to the user through the standard output while still being able access it later on. T...

14 Sep at 03:50

capture process stdout and stderr in the correct ordering

capture process stdout and stderr in the correct ordering I launch a process from C# as follows: ``` public bool Execute() { ProcessStartInfo startInfo = new ProcessStartInfo(); startInfo.Argument...

2 Jan at 12:29

Print to the same line and not a new line?

Print to the same line and not a new line? Basically I want to do the opposite of what this guy did... hehe. [Python Script: Print new line each time to shell rather than update existing line](https:/...

9 Jan at 10:12

When run a program in C#, all the messages go to the standard output, but the standard error contains nothing

When run a program in C#, all the messages go to the standard output, but the standard error contains nothing My question is different with [the one identified](https://stackoverflow.com/questions/283...

How can I stream data from a managed assembly to a native library and back again?

How can I stream data from a managed assembly to a native library and back again? How can I stream data (text) from a managed assembly to a native library and stream data (text) back to the managed as...

23 May at 12:24

Running powershell script within python script, how to make python print the powershell output while it is running

Running powershell script within python script, how to make python print the powershell output while it is running I am writing a python script which checks various conditions and runs a powershell sc...